Methods Summary |
---|
public void | cancelNotifications(android.media.MediaTimeProvider$OnMediaTimeListener listener)Cancels all previous notification request from this listener if any.
|
public long | getCurrentTimeUs(boolean precise, boolean monotonic)Get the current presentation time.
|
public void | notifyAt(long timeUs, android.media.MediaTimeProvider$OnMediaTimeListener listener)Cancels all previous notification request from this listener if any. It
registers the listener to get seek and stop notifications. If timeUs is
not negative, it also registers the listener for a timed event
notification when the presentation time reaches (becomes greater) than
the value specified. This happens immediately if the current media time
is larger than or equal to timeUs.
|
public void | scheduleUpdate(android.media.MediaTimeProvider$OnMediaTimeListener listener)Cancels all previous notification request from this listener if any. It
registers the listener to get seek and stop notifications. If the media
is stopped, the listener will immediately receive a stop notification.
Otherwise, it will receive a timed event notificaton.
|