com.google.android.gms.cast.framework.media.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
addProgressListener(ProgressListener, long)
.
Methods will be invoked on the main thread.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when progress or duration of the current playing media changes.
|
Called when progress or duration of the current playing media changes.
Parameters | |
---|---|
progressMs |
long :
The current progress in milliseconds. |
durationMs |
long :
The current duration in milliseconds.
|