Udostępnij za pośrednictwem


RemoteControlClient.SetOnGetPlaybackPositionListener Method

Definition

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

l
RemoteControlClient.IOnGetPlaybackPositionListener

the listener to be called to retrieve the playback position

Attributes

Remarks

Java documentation for android.media.RemoteControlClient.setOnGetPlaybackPositionListener(android.media.OnGetPlaybackPositionListener).

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.

Applies to