Sdílet prostřednictvím


MediaSession.FlagHandlesMediaButtons Field

Definition

Set this flag on the session to indicate that it can handle media button events.

[Android.Runtime.Register("FLAG_HANDLES_MEDIA_BUTTONS")]
public const Android.Media.Session.MediaSessionFlags FlagHandlesMediaButtons = 1;
[<Android.Runtime.Register("FLAG_HANDLES_MEDIA_BUTTONS")>]
val mutable FlagHandlesMediaButtons : Android.Media.Session.MediaSessionFlags

Field Value

Value = 1
Attributes

Remarks

Set this flag on the session to indicate that it can handle media button events.

This member is deprecated. This flag is no longer used. All media sessions are expected to handle media button events now.

Java documentation for android.media.session.MediaSession.FLAG_HANDLES_MEDIA_BUTTONS.

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