public static interface IMediaPlayerModel.IListener
IListener
- IMediaPlayerModel
listener.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.
|
void onEvent(java.lang.String event, java.lang.Object info)
Note:
The purpose of this notification is to notify about inner model events.
event
- info
- void onTracks(boolean live, MediaTrackInfo[] tracks, MediaTrackInfo[] all)
live
- true
for the live stream, false
for the recorded streamtracks
- tracks decodable by the SDKall
- all tracksvoid onTrackEnd(MediaTrackInfo track)
track
, i.e. no more track frames are available.track
-