Created
July 29, 2022 07:38
-
-
Save larryluoo/4047ecb78cf4c67737ce9b82995ae316 to your computer and use it in GitHub Desktop.
setEventHandler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
engine.setEventHandler(new IZegoEventHandler() { | |
/** Common event callbacks related to stream publishing. */ | |
/** Callback for updates on stream publishing status. */ | |
@Override | |
public void onPublisherStateUpdate(String streamID, ZegoPublisherState state, int errorCode, JSONObject extendedData){ | |
/** Implement the callback handling logic as needed. */ | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment