class Google::Apis::AndroidmanagementV1::KioskCustomization

Settings controlling the behavior of a device in kiosk mode. To enable kiosk mode, set kioskCustomLauncherEnabled to true or specify an app in the policy with installType KIOSK.

Attributes

device_settings[RW]

Specifies whether the Settings app is allowed in kiosk mode. Corresponds to the JSON property `deviceSettings` @return [String]

power_button_actions[RW]

Sets the behavior of a device in kiosk mode when a user presses and holds ( long-presses) the Power button. Corresponds to the JSON property `powerButtonActions` @return [String]

status_bar[RW]

Specifies whether system info and notifications are disabled in kiosk mode. Corresponds to the JSON property `statusBar` @return [String]

system_error_warnings[RW]

Specifies whether system error dialogs for crashed or unresponsive apps are blocked in kiosk mode. When blocked, the system will force-stop the app as if the user chooses the “close app” option on the UI. Corresponds to the JSON property `systemErrorWarnings` @return [String]

system_navigation[RW]

Specifies which navigation features are enabled (e.g. Home, Overview buttons) in kiosk mode. Corresponds to the JSON property `systemNavigation` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 1790
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 1795
def update!(**args)
  @device_settings = args[:device_settings] if args.key?(:device_settings)
  @power_button_actions = args[:power_button_actions] if args.key?(:power_button_actions)
  @status_bar = args[:status_bar] if args.key?(:status_bar)
  @system_error_warnings = args[:system_error_warnings] if args.key?(:system_error_warnings)
  @system_navigation = args[:system_navigation] if args.key?(:system_navigation)
end