powerButtonActions property
Sets the behavior of a device in kiosk mode when a user presses and holds (long-presses) the Power button. Possible string values are:
- "POWER_BUTTON_ACTIONS_UNSPECIFIED" : Unspecified, defaults to POWER_BUTTON_AVAILABLE.
- "POWER_BUTTON_AVAILABLE" : The power menu (e.g. Power off, Restart) is shown when a user long-presses the Power button of a device in kiosk mode.
- "POWER_BUTTON_BLOCKED" : The power menu (e.g. Power off, Restart) is not shown when a user long-presses the Power button of a device in kiosk mode. Note: this may prevent users from turning off the device.
Implementation
core.String? powerButtonActions;