共用方式為


MediaSession.FlagHandlesTransportControls Field

Definition

Set this flag on the session to indicate that it handles transport control commands through its Callback.

[Android.Runtime.Register("FLAG_HANDLES_TRANSPORT_CONTROLS")]
public const Android.Media.Session.MediaSessionFlags FlagHandlesTransportControls = 2;
[<Android.Runtime.Register("FLAG_HANDLES_TRANSPORT_CONTROLS")>]
val mutable FlagHandlesTransportControls : Android.Media.Session.MediaSessionFlags

Field Value

Value = 2
Attributes

Remarks

Set this flag on the session to indicate that it handles transport control commands through its Callback.

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

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

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