kiosk_mode library

Enums

KioskMode
Corresponds to lock task / screen pinning mode on Android, and guided access mode on iOS.

Functions

getKioskMode() Future<KioskMode>
Returns the current KioskMode.
isManagedKiosk() Future<bool>
Returns true, if app is in a proper managed kiosk mode.
startKioskMode() Future<bool>
Requests the platform to restrict the current user to the app.
stopKioskMode() Future<bool?>
On Android, stops the current task from being locked. On iOS, exits the Single App mode.
watchKioskMode({Duration androidQueryPeriod = const Duration(seconds: 5)}) Stream<KioskMode>
Returns the stream with KioskMode.