Sdílet prostřednictvím


RemoteControlClient.SetPlaybackPositionUpdateListener Method

Definition

Caution

deprecated

Sets the listener to be called whenever the media playback position is requested to be updated.

[Android.Runtime.Register("setPlaybackPositionUpdateListener", "(Landroid/media/RemoteControlClient$OnPlaybackPositionUpdateListener;)V", "GetSetPlaybackPositionUpdateListener_Landroid_media_RemoteControlClient_OnPlaybackPositionUpdateListener_Handler")]
[System.Obsolete("deprecated")]
public virtual void SetPlaybackPositionUpdateListener (Android.Media.RemoteControlClient.IOnPlaybackPositionUpdateListener? l);
[<Android.Runtime.Register("setPlaybackPositionUpdateListener", "(Landroid/media/RemoteControlClient$OnPlaybackPositionUpdateListener;)V", "GetSetPlaybackPositionUpdateListener_Landroid_media_RemoteControlClient_OnPlaybackPositionUpdateListener_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member SetPlaybackPositionUpdateListener : Android.Media.RemoteControlClient.IOnPlaybackPositionUpdateListener -> unit
override this.SetPlaybackPositionUpdateListener : Android.Media.RemoteControlClient.IOnPlaybackPositionUpdateListener -> unit

Parameters

l
RemoteControlClient.IOnPlaybackPositionUpdateListener

the position update listener to be called

Attributes

Remarks

Java documentation for android.media.RemoteControlClient.setPlaybackPositionUpdateListener(android.media.OnPlaybackPositionUpdateListener).

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