CommonCallbackFun
Introduction
Common async value callback
Returned template
CommonCallbackFun = void Function(code: number, desc: string, json_param: string, user_data?: any)
Return value details
name | type | description |
---|---|---|
code | number | Result error code: Error Codes |
desc | string | The description of the error. |
json_param | string | Callback returned data |
user_data | any | User-defined data transfered by ImSDK without any processing |