CustomizableButton Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. 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 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 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 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 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 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.