Compartilhar via


RemoteControlClient.FlagKeyMediaPositionUpdate Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.RemoteControlFlags enum directly instead of this field.

Flag indicating a RemoteControlClient can receive changes in the media playback position through the OnPlaybackPositionUpdateListener interface.

[Android.Runtime.Register("FLAG_KEY_MEDIA_POSITION_UPDATE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.RemoteControlFlags enum directly instead of this field.", true)]
public const Android.Media.RemoteControlFlags FlagKeyMediaPositionUpdate = 256;
[<Android.Runtime.Register("FLAG_KEY_MEDIA_POSITION_UPDATE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.RemoteControlFlags enum directly instead of this field.", true)>]
val mutable FlagKeyMediaPositionUpdate : Android.Media.RemoteControlFlags

Field Value

Value = 256
Attributes

Remarks

Flag indicating a RemoteControlClient can receive changes in the media playback position through the OnPlaybackPositionUpdateListener interface. This flag must be set in order for components that display the RemoteControlClient information, to display and let the user control media playback position.

Java documentation for android.media.RemoteControlClient.FLAG_KEY_MEDIA_POSITION_UPDATE.

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

See also

  • SetTransportControlFlags(RemoteControlFlags)
  • <xref:Android.Media.RemoteControlClient.SetOnGetPlaybackPositionListener(.IOnGetPlaybackPositionListener)>
  • <xref:Android.Media.RemoteControlClient.SetPlaybackPositionUpdateListener(.IOnPlaybackPositionUpdateListener)>