![]() |
Knox Tizen Wearable SDK
|
Roaming policy group provides policies for roaming control. More...
Functions | |
| mdm_status_t | mdm_get_allow_roaming_data (void) |
| API to check if cellular data usage is allowed while roaming. More... | |
| mdm_result_t | mdm_set_allow_roaming_data (mdm_status_t n_status) |
| API to allow or restrict the use of cellular data usage while roaming. More... | |
Roaming policy group provides policies for roaming control.
Roaming policy group.
#include <mdm.h>
This group provides APIs to control the various settings related to device roaming.
| mdm_status_t mdm_get_allow_roaming_data | ( | void | ) |
API to check if cellular data usage is allowed while roaming.
| MDM_ALLOWED | Cellular data during roaming is allowed. |
| MDM_RESTRICTED | Cellular data during roaming is restricted. |
| MDM_STATUS_ERROR | Failure. |
| mdm_result_t mdm_set_allow_roaming_data | ( | mdm_status_t | n_status | ) |
API to allow or restrict the use of cellular data usage while roaming.
| [in] | n_status | MDM_RESTRICTED: Restricts the user from changing this setting and turns off cellular data during roaming. MDM_ALLOWED: Allows the user to change this setting. Cellular data must be turned on manually. |
| 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. |