KioskLockTaskPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- KioskLockTaskPlatform
- Implementers
Constructors
- KioskLockTaskPlatform()
- Constructs a KioskLockTaskPlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
-
enable(
) → Future< bool> - Enables Lock Task Mode for the current foreground activity.
-
isAutoStartEnabled(
) → Future< bool> - Returns whether automatic Lock Task Mode re-entry is enabled.
-
isDeviceOwner(
) → Future< bool> - Returns whether this app is registered as the Android Device Owner.
-
isEnabled(
) → Future< bool> - Returns whether the app is currently running in Lock Task Mode.
-
isLaunchOnBootEnabled(
) → Future< bool> - Returns whether launch-on-boot handling is enabled.
-
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.
-
setLaunchOnBootEnabled(
bool enabled) → Future< void> - Stores whether the app should be launched after boot and package updates.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ KioskLockTaskPlatform
-
The default instance of KioskLockTaskPlatform to use.
getter/setter pair