public static interface RemoteMediaClient.ProgressListener
The listener interface for getting updates on the progress of the currently playing media.
Updates on the listener happens with a frequency configured when it is added via calling
RemoteMediaClient.addProgressListener(ProgressListener, long)
. Methods will be
invoked on the main thread.
Public Method Summary
abstract void |
onProgressUpdated(long progressMs, long durationMs)
Called when progress or duration of the current playing media changes.
|
Public Methods
public abstract void onProgressUpdated (long progressMs, long durationMs)
Called when progress or duration of the current playing media changes.
Parameters
progressMs | The current progress in milliseconds. |
---|---|
durationMs | The current duration in milliseconds. |