public static interface RemoteControlClient.OnGetPlaybackPositionListener
android.media.RemoteControlClient.OnGetPlaybackPositionListener |
在查询媒体播放位置时调用回调的接口定义。
Public methods |
|
---|---|
abstract long |
onGetPlaybackPosition() 调用接口的实现者来查询当前播放位置。 |
long onGetPlaybackPosition ()
调用接口的实现者来查询当前播放位置。
Returns | |
---|---|
long |
a negative value if the current playback position (or the last valid playback position) is not known, or a zero or positive value expressed in ms indicating the current position, or the last valid known position. |