IZegoApiCalledEventHandler
IZegoApiCalledEventHandler
Declared in callback/IZegoApiCalledEventHandler.java
Methods
onApiCalledResult
onApiCalledResult
public void onApiCalledResult(int errorCode, String funcName, String info)Method execution result callback
Declared in
callback/IZegoApiCalledEventHandler.javaParameters
| Name | Type | Description |
|---|---|---|
| errorCode | int | Error code, please refer to the error codes document https://docs.zegocloud.com/en/5548.html for details. |
| funcName | String | Function name. |
| info | String | Detailed error information. |
Details
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.
- 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.
- Available since: 2.3.0
- Restrictions: None.
