MethodChannelKioskLockTask class

An implementation of KioskLockTaskPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disable() Future<bool>
Disables Lock Task Mode for the current foreground activity.
override
enable() Future<bool>
Enables Lock Task Mode for the current foreground activity.
override
isAutoStartEnabled() Future<bool>
Returns whether automatic Lock Task Mode re-entry is enabled.
override
isDeviceOwner() Future<bool>
Returns whether this app is registered as the Android Device Owner.
override
isEnabled() Future<bool>
Returns whether the app is currently running in Lock Task Mode.
override
isLaunchOnBootEnabled() Future<bool>
Returns whether launch-on-boot handling is enabled.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAutoStartEnabled(bool enabled) Future<void>
Stores whether the plugin should automatically re-enter Lock Task Mode.
override
setLaunchOnBootEnabled(bool enabled) Future<void>
Stores whether the app should be launched after boot and package updates.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited