Język

CustomizableButton Enum

Definition

Specifies the peripheral button codes used by ButtonCustomizationTrigger.

public enum CustomizableButton
type CustomizableButton = 
Inheritance
CustomizableButton

Fields

Name Value Description
Tertiary 4

Customizable Button code: Tertiary/Middle button.

Android reference for android.hardware.input.ButtonCustomizationTrigger.CUSTOMIZABLE_BUTTON_TERTIARY.

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.

Back 8

Customizable Button code: Back button.

Android reference for android.hardware.input.ButtonCustomizationTrigger.CUSTOMIZABLE_BUTTON_BACK.

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.

Forward 16

Customizable Button code: Forward button.

Android reference for android.hardware.input.ButtonCustomizationTrigger.CUSTOMIZABLE_BUTTON_FORWARD.

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.

Extra 128

Customizable Button code: Extra button.

Android reference for android.hardware.input.ButtonCustomizationTrigger.CUSTOMIZABLE_BUTTON_EXTRA.

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.

Side 256

Customizable Button code: Side button.

Android reference for android.hardware.input.ButtonCustomizationTrigger.CUSTOMIZABLE_BUTTON_SIDE.

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.

Task 512

Customizable Button code: Task button.

Android reference for android.hardware.input.ButtonCustomizationTrigger.CUSTOMIZABLE_BUTTON_TASK.

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.

Remarks

Each value identifies a button for a customization trigger. Use IsButtonAllowedForCustomization(Int32, Int32, CustomizableButton) to check whether a button can be customized for a device.

These values correspond to the CUSTOMIZABLE_BUTTON_* constants in the Android ButtonCustomizationTrigger reference.

Applies to