GetDeviceCapabilities
Definition:
GetDeviceCapabilities(option)
Description:
Check whether device has a camera or GPS support.
Platforms:
All
Parameters:
option - required
A string specifying the information required. It can contain one of the following values:
"HAS_CAMERA" - Check whether device has camera
"HAS_GPS" - Check whether device has GPS support
Returns:
0
the device doesn't have the capability enquired about.
1
The device has the capability enquired about.