Android.Media.RemoteControlClient.SetOnGetPlaybackPositionListener Method
Sets the listener to be called whenever the media current playback position is needed.

Syntax

[Android.Runtime.Register("setOnGetPlaybackPositionListener", "(Landroid/media/RemoteControlClient$OnGetPlaybackPositionListener;)V", "GetSetOnGetPlaybackPositionListener_Landroid_media_RemoteControlClient_OnGetPlaybackPositionListener_Handler")]
public virtual void SetOnGetPlaybackPositionListener (RemoteControlClient.IOnGetPlaybackPositionListener l)

Parameters

l
the listener to be called to retrieve the playback position

Remarks

Sets the listener to be called whenever the media current playback position is needed. Queries will be received in the same thread as the one in which RemoteControlClient was created.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18