Knox Tizen Wearable SDK
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
Enterprise Device policy group

Enterprise Device policy group provides policies for enterprise device control. More...

Functions

const char * mdm_get_enterprise_sdk_version (void)
 API to get the Enterprise SDK version. More...
 

Detailed Description

Enterprise Device policy group provides policies for enterprise device control.

Enterprise Device policy group.

Required Header

#include <mdm.h>

Overview

This group provides APIs to Get Enterprise sdk/Key version

Function Documentation

const char* mdm_get_enterprise_sdk_version ( void  )

API to get the Enterprise SDK version.

Since (Knox_wearable):
1.0.0
Since (Tizen):
2.3.1.5
Feature:
http://developer.samsung.com/tizen/feature/mdm
Usage:
Admin can use this API to get the value of the Enterprise SDK version.
Note
This function doesn't need communication with mdm-server. To use this function, caller doesn't need to call mdm_get_service().
You shall not free the returned const char *.
const char *enterprise_sdk_version = mdm_get_enterprise_sdk_version();
if (enterprise_sdk_version == NULL) {
fprintf(stderr, "Failed to get Enterprise SDK version!\n");
} else {
printf("Enterprise SDK version: '%s'\n", enterprise_sdk_version);
}
Returns
String representation of Enterprise SDK version on success, NULL on fail.