public static class IMediaPlayerModel.ListenerAdapter extends java.lang.Object implements IMediaPlayerModel.IListener
ListenerAdapter
- listener adapter.Constructor and Description |
---|
ListenerAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onEvent(java.lang.String event,
java.lang.Object info)
Notifies about general purpose event.
|
void |
onTrackEnd(MediaTrackInfo track)
Notifies about the end of the
track , i.e. |
void |
onTracks(boolean live,
MediaTrackInfo[] tracks,
MediaTrackInfo[] all)
Notifies about available tracks.
|
public void onEvent(java.lang.String event, java.lang.Object info)
IMediaPlayerModel.IListener
Note:
The purpose of this notification is to notify about inner model events.
onEvent
in interface IMediaPlayerModel.IListener
public void onTracks(boolean live, MediaTrackInfo[] tracks, MediaTrackInfo[] all)
IMediaPlayerModel.IListener
onTracks
in interface IMediaPlayerModel.IListener
live
- true
for the live stream, false
for the recorded streamtracks
- tracks decodable by the SDKall
- all trackspublic void onTrackEnd(MediaTrackInfo track)
IMediaPlayerModel.IListener
track
, i.e. no more track frames are available.onTrackEnd
in interface IMediaPlayerModel.IListener