Agora Java API Reference for Android
Public Member Functions | List of all members
agora::streaming::IStreamingEventHandler Class Reference

#include <IAgoraStreamingKit.h>

Public Member Functions

virtual void onStartStreamingSuccess ()
 
virtual void onStartStreamingFailure (START_STREAMING_ERROR err, const char *msg)
 
virtual void onMediaStreamingError (MEDIA_STREAMING_ERROR err, const char *msg)
 
virtual void onStreamingConnectionStateChanged (STREAMING_CONNECTION_STATE state)
 

Detailed Description

The IStreamingEventHandler 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.