logo
On this page

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.java

Parameters

NameTypeDescription
errorCodeintError code, please refer to the error codes document https://docs.zegocloud.com/en/5548.html for details.
funcNameStringFunction name.
infoStringDetailed 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.

Previous

izegoaivoicechangereventhandler

Next

izegoaudiodatahandler

On this page

Back to top