onApiCalledResult property

(void Function(int errorCode, String funcName, String info)?) onApiCalledResult
getter/setter pair

Method execution result callback

Available since: 2.3.0 Description: When the monitoring is turned on through setApiCalledCallback, the results of the execution of all methods will be called back through this callback. Trigger: When the developer calls the SDK method, the execution result of the method is called back. Restrictions: None. Caution: It is recommended to monitor and process this callback in the development and testing phases, and turn off the monitoring of this callback after going online.

  • errorCode Error code, please refer to the Common Error Codes for details.
  • funcName Function name.
  • info Detailed error information.

Implementation

static void Function(int errorCode, String funcName, String info)?
    onApiCalledResult;