RemoteControlClient.SetOnGetPlaybackPositionListener Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Sets the listener to be called whenever the media current playback position is needed.
[Android.Runtime.Register("setOnGetPlaybackPositionListener", "(Landroid/media/RemoteControlClient$OnGetPlaybackPositionListener;)V", "GetSetOnGetPlaybackPositionListener_Landroid_media_RemoteControlClient_OnGetPlaybackPositionListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetOnGetPlaybackPositionListener (Android.Media.RemoteControlClient.IOnGetPlaybackPositionListener? l);
[<Android.Runtime.Register("setOnGetPlaybackPositionListener", "(Landroid/media/RemoteControlClient$OnGetPlaybackPositionListener;)V", "GetSetOnGetPlaybackPositionListener_Landroid_media_RemoteControlClient_OnGetPlaybackPositionListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetOnGetPlaybackPositionListener : Android.Media.RemoteControlClient.IOnGetPlaybackPositionListener -> unit
override this.SetOnGetPlaybackPositionListener : Android.Media.RemoteControlClient.IOnGetPlaybackPositionListener -> unit
Parameters
the listener to be called to retrieve the playback position
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.