OpenSDK
V4.2.0
|
Functions | |
OPENSDK_API void CALLBACK | OpenSDK_SetLoginParams (LoginParamKey iKey, const char *szValue) |
Set the login incoming parameters. More... | |
OPENSDK_API const char *CALLBACK | OpenSDK_GetLoginResponseParams (LoginParamKey iKey) |
Get the login parameters after logging in. More... | |
OPENSDK_API void CALLBACK | OpenSDK_Logout () |
Logout, match with the OpenSDK_Mid_Login API. More... | |
OPENSDK_API int CALLBACK | OpenSDK_Mid_Login (char **szAccessToken, int *iAccessTokenLen) |
Login API. More... | |
OPENSDK_API int CALLBACK | OpenSDK_Mid_Device_Add (const char *szAccessToken) |
Add device. More... | |
OPENSDK_API int CALLBACK | OpenSDK_Mid_Device_Oper (const char *szAccessToken, const char *szDeviceId) |
Operate device. More... | |
OPENSDK_API const char* CALLBACK OpenSDK_GetLoginResponseParams | ( | LoginParamKey | iKey | ) |
Get the login parameters after logging in.
[in] | iKey | Input type, LOGIN_AREADOMAIN or LOGIN_TOKEN_EXPIRETIME |
[in] | szValue | Key corresponds to the parameter parameter content |
OPENSDK_API void CALLBACK OpenSDK_Logout | ( | ) |
Logout, match with the OpenSDK_Mid_Login API.
OPENSDK_API int CALLBACK OpenSDK_Mid_Device_Add | ( | const char * | szAccessToken | ) |
Add device.
[in] | szAccessToken | Verification Token |
OPENSDK_API int CALLBACK OpenSDK_Mid_Device_Oper | ( | const char * | szAccessToken, |
const char * | szDeviceId | ||
) |
Operate device.
[in] | szAccessToken | Verification Token |
[in] | szDeviceId | Device ID |
OPENSDK_API int CALLBACK OpenSDK_Mid_Login | ( | char ** | szAccessToken, |
int * | iAccessTokenLen | ||
) |
Login API.
[out] | szAccessToken | Verification Token |
[out] | iAccessTokenLen | Length of verification Token |
OPENSDK_API void CALLBACK OpenSDK_SetLoginParams | ( | LoginParamKey | iKey, |
const char * | szValue | ||
) |
Set the login incoming parameters.
[in] | iKey | Input type, LOGIN_AREAID or LOGIN_VER |
[in] | szValue | Key corresponds to the parameter parameter content |