OpenSDK
V4.2.0
|
Functions | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_InitLib (const char *szAuthAddr, const char *szPlatform, const char *szAppId) |
Initialize the library, support setting the system IP address. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_FiniLib () |
Anti-initialize the library. More... | |
OPENSDK_API void CALLBACK | OpenSDK_SetConfigInfo (ConfigKey iKey, const int iValue) |
Global configuration information, according to ConfigKey configuration. More... | |
OPENSDK_API void CALLBACK | OpenSDK_SetPlatformAddr (const char *szPlatform) |
The platform address is set up, and the address of the overseas platform is reset back. The platform address is reset by calling this interface. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_SetAppID (const char *szAppId) |
Set APP ID. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK | OpenSDK_SetAccessToken (const char *szAccessToken) |
Set AccessToken. More... | |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_FiniLib | ( | ) |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_InitLib | ( | const char * | szAuthAddr, |
const char * | szPlatform, | ||
const char * | szAppId | ||
) |
Initialize the library, support setting the system IP address.
[in] | szAuthAddr | Domain name authentication: the system authenticate the center address, the default address is: https://openauth.ezvizlife.com. |
[in] | szPlatform | System domain: the system authenticate the center address, the default address is: https://open.ezvizlife.com. |
[in] | szAppId | AppKey applied from the system |
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_SetAccessToken | ( | const char * | szAccessToken | ) |
Set AccessToken.
OPENSDK_API OPENSDK_RESULT CALLBACK OpenSDK_SetAppID | ( | const char * | szAppId | ) |
Set APP ID.
OPENSDK_API void CALLBACK OpenSDK_SetConfigInfo | ( | ConfigKey | iKey, |
const int | iValue | ||
) |
Global configuration information, according to ConfigKey configuration.
[in] | iKey | ConfigKey, Configuration type |
[in] | szAppId | Configuration value, when key=CONFIG_DATA_UTF8, value=1 means platform data output use UTF-8 when key=CONFIG_OPEN_STREAMTRANS, value=1 means The output of the stream data is transferred to the package for video storage when key=CONFIG_CLOSE_P2P, value=1 means close the P2P |
OPENSDK_API void CALLBACK OpenSDK_SetPlatformAddr | ( | const char * | szPlatform | ) |
The platform address is set up, and the address of the overseas platform is reset back. The platform address is reset by calling this interface.