Knox Tizen Wearable SDK
|
Location policy group provides policies for location control. More...
Functions | |
mdm_result_t | mdm_start_gps (bool start) |
Function on/off GPS on the device. More... | |
mdm_status_t | mdm_is_gps_on (void) |
Function to status of GPS. More... | |
Location policy group provides policies for location control.
Location policy group.
#include <mdm.h>
This group provides APIs to set location restrictions.
mdm_status_t mdm_is_gps_on | ( | void | ) |
Function to status of GPS.
MDM_TRUE | GPS is on |
MDM_FALSE | GPS is off |
MDM_STATUS_ERROR | Error. |
mdm_result_t mdm_start_gps | ( | bool | start | ) |
Function on/off GPS on the device.
[in] | start | True to start GPS, false to stop GPS. |
MDM_RESULT_SUCCESS | Successful |
MDM_RESULT_FAIL | General failure |
MDM_RESULT_NOT_SUPPORTED | Not supported |
MDM_RESULT_INVALID_PARAM | Invalid parameter |
MDM_RESULT_ACCESS_DENIED | The application does not have the privilege to call this function. |