Language

SimpleCustomizationAction.TypeMediaPlayPause Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Input.SimpleCustomizationActionType enum directly instead of this field.

Action type: Media play/pause.

[Android.Runtime.Register("TYPE_MEDIA_PLAY_PAUSE", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Input.SimpleCustomizationActionType enum directly instead of this field.", true)]
public const Android.Hardware.Input.SimpleCustomizationActionType TypeMediaPlayPause = 10;
[<Android.Runtime.Register("TYPE_MEDIA_PLAY_PAUSE", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Input.SimpleCustomizationActionType enum directly instead of this field.", true)>]
val mutable TypeMediaPlayPause : Android.Hardware.Input.SimpleCustomizationActionType

Field Value

Value = 10
Attributes

Remarks

Action type: Media play/pause.

Specifies the action to toggle media play/pause when the peripheral input is triggered.

Android reference for android.hardware.input.SimpleCustomizationAction.TYPE_MEDIA_PLAY_PAUSE.

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