SDK Authorization
Thunder SDK initiation and authorization
Description of functional types
WuKong
Member Function | Description | Version Introduced |
void init(Context context) | Initiation | 2.0.0 |
void auth(String licFileName, boolean isLeafLic, String productName, PassModel modelConfig,IAuthCallback authCallback) | Authorization | 2.0.0 |
void release() | Release SDK resource | 2.0.0 |
Description of Member Function
void init (Context context)
Initiation
Parameter
Parameter Name | Type | Description | Note | Version Introduced |
context | Context | context object | None | 2.0.0 |
Return
None
Exception
None
void auth (String licFileName, boolean isLeafLic, String productName, PassModel modelConfig, IAuthCallback authCallback)
Authorization
Parameter
Parameter Name | Type | Description | Note | Version Introduced |
licFileName | String | license file name | None | 2.0.0 |
isLeafLic | boolean | Is Leaf License | None | 2.0.0 |
productName | String | Device Product Name | None | 2.0.0 |
modelConfig | PassModel | Model Configuration | None | 2.0.0 |
authCallback | IAuthCallback | Authorization Callback | None | 2.0.0 |
Return
None
Exception
None
void release ()
Release SDK resource
Parameter
None
Return
None
Exception
None
Last updated