Agora Java API Reference for Android
|
Public Member Functions | |
abstract void | onStartStreamingSuccess () |
abstract void | onStartStreamingFailure (@StartStreamingError int err, String msg) |
abstract void | onMediaStreamingError (@MediaStreamingError int err, String msg) |
abstract void | onStreamingConnectionStateChanged (@StreamingConnectionState int state) |
The StreamingEventHandler class.
The SDK uses this class to send callback event notifications to the app, and the app inherits the methods in this class to retrieve these event notifications.
All methods in this class have their default (empty) implementations, and the app can inherit only some of the required events instead of all. In the callback methods, the app should avoid time-consuming tasks or calling blocking APIs, otherwise the SDK may not work properly.