pub struct KioskCustomization {
pub device_settings: Option<String>,
pub power_button_actions: Option<String>,
pub status_bar: Option<String>,
pub system_error_warnings: Option<String>,
pub system_navigation: Option<String>,
}
Expand description
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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_settings: Option<String>
Specifies whether the Settings app is allowed in kiosk mode.
Sets the behavior of a device in kiosk mode when a user presses and holds (long-presses) the Power button.
status_bar: Option<String>
Specifies whether system info and notifications are disabled in kiosk mode.
system_error_warnings: Option<String>
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.
Specifies which navigation features are enabled (e.g. Home, Overview buttons) in kiosk mode.
Trait Implementations§
Source§impl Clone for KioskCustomization
impl Clone for KioskCustomization
Source§fn clone(&self) -> KioskCustomization
fn clone(&self) -> KioskCustomization
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for KioskCustomization
impl Debug for KioskCustomization
Source§impl Default for KioskCustomization
impl Default for KioskCustomization
Source§fn default() -> KioskCustomization
fn default() -> KioskCustomization
Source§impl<'de> Deserialize<'de> for KioskCustomization
impl<'de> Deserialize<'de> for KioskCustomization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for KioskCustomization
impl Serialize for KioskCustomization
impl Part for KioskCustomization
Auto Trait Implementations§
impl Freeze for KioskCustomization
impl RefUnwindSafe for KioskCustomization
impl Send for KioskCustomization
impl Sync for KioskCustomization
impl Unpin for KioskCustomization
impl UnwindSafe for KioskCustomization
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more