The callback for tracking player status changes. Methods will be invoked on the main thread.
|
Callback()
|
| void |
onAdBreakStatusUpdated()
Called when updated ad break status information is received.
|
| void |
onMediaError(MediaError mediaError)
Called when receiving media error message.
|
| void |
onMetadataUpdated()
Called when updated media metadata is received.
|
| void |
onPreloadStatusUpdated()
Called when updated player queue preload status information is received, for
example, the next item to play has been preloaded.
|
| void |
onQueueStatusUpdated()
Called when updated player queue status information is received.
|
| void |
onSendingRemoteMediaRequest()
Called when there is an outgoing request to the receiver.
|
| void |
onStatusUpdated()
Called when updated player status information is received.
|
Called when updated ad break status information is received.
Called when receiving media error message.
Called when updated media metadata is received.
Called when updated player queue preload status information is received, for example, the next item to play has been preloaded. This gives the caller a chance to response to preloading related event, such as displaying what will be played next in the UI.
Called when updated player queue status information is received.
Called when there is an outgoing request to the receiver. This gives the caller a chance to update state of the UI of the sender app, for example, disable some controls.
Called when updated player status information is received.