Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

KioskCustomization

import type { KioskCustomization } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

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.

interface KioskCustomization {
deviceSettings?: "DEVICE_SETTINGS_UNSPECIFIED" | "SETTINGS_ACCESS_ALLOWED" | "SETTINGS_ACCESS_BLOCKED";
powerButtonActions?: "POWER_BUTTON_ACTIONS_UNSPECIFIED" | "POWER_BUTTON_AVAILABLE" | "POWER_BUTTON_BLOCKED";
statusBar?:
| "STATUS_BAR_UNSPECIFIED"
| "NOTIFICATIONS_AND_SYSTEM_INFO_ENABLED"
| "NOTIFICATIONS_AND_SYSTEM_INFO_DISABLED"
| "SYSTEM_INFO_ONLY";
systemErrorWarnings?: "SYSTEM_ERROR_WARNINGS_UNSPECIFIED" | "ERROR_AND_WARNINGS_ENABLED" | "ERROR_AND_WARNINGS_MUTED";
systemNavigation?:
| "SYSTEM_NAVIGATION_UNSPECIFIED"
| "NAVIGATION_ENABLED"
| "NAVIGATION_DISABLED"
| "HOME_BUTTON_ONLY";
}

§Properties

§
deviceSettings?: "DEVICE_SETTINGS_UNSPECIFIED" | "SETTINGS_ACCESS_ALLOWED" | "SETTINGS_ACCESS_BLOCKED"
[src]

Specifies whether the Settings app is allowed in kiosk mode.

§
powerButtonActions?: "POWER_BUTTON_ACTIONS_UNSPECIFIED" | "POWER_BUTTON_AVAILABLE" | "POWER_BUTTON_BLOCKED"
[src]

Sets the behavior of a device in kiosk mode when a user presses and holds (long-presses) the Power button.

§
statusBar?: "STATUS_BAR_UNSPECIFIED" | "NOTIFICATIONS_AND_SYSTEM_INFO_ENABLED" | "NOTIFICATIONS_AND_SYSTEM_INFO_DISABLED" | "SYSTEM_INFO_ONLY"
[src]

Specifies whether system info and notifications are disabled in kiosk mode.

§
systemErrorWarnings?: "SYSTEM_ERROR_WARNINGS_UNSPECIFIED" | "ERROR_AND_WARNINGS_ENABLED" | "ERROR_AND_WARNINGS_MUTED"
[src]

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.

§
systemNavigation?: "SYSTEM_NAVIGATION_UNSPECIFIED" | "NAVIGATION_ENABLED" | "NAVIGATION_DISABLED" | "HOME_BUTTON_ONLY"
[src]

Specifies which navigation features are enabled (e.g. Home, Overview buttons) in kiosk mode.