public static interface MediaTimeProvider.OnMediaTimeListener
Modifier and Type | Method and Description |
---|---|
void |
onSeek(long timeUs)
Called when the media time changed due to seeking.
|
void |
onStop()
Called when the playback stopped.
|
void |
onTimedEvent(long timeUs)
Called when the registered time was reached naturally.
|
void onTimedEvent(long timeUs)
timeUs
- current media timevoid onSeek(long timeUs)
timeUs
- current media timevoid onStop()