DVKioskEnforcement class
What a device will actually do with a declared policy.
Constructors
-
DVKioskEnforcement({required DVKioskStrength strength, required DVKioskInputScope inputScope, required DVKioskExitMethod exitMethod, required bool scopeHonoured, required bool supported, required List<
DVKioskDegradation> degradations}) -
const
Properties
- code → String?
-
no setter
-
codes
→ List<
String> -
Every code this enforcement reports.
no setter
- degradation → DVKioskDegradation
-
The most severe, for a caller that wants a single answer.
no setter
-
degradations
→ List<
DVKioskDegradation> -
Everything worth saying at boot, most severe first.
final
- exitMethod → DVKioskExitMethod
-
The method that will actually be offered, which can be weaker than the
declared one.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputScope → DVKioskInputScope
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopeHonoured → bool
-
Whether
scope: displayis honoured, or degraded to a fullscreen page in the current surface.final - strength → DVKioskStrength
-
final
- supported → bool
-
Whether this target can be a kiosk at all.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
ceilingFor(
DVKioskTarget target, {bool browserKioskDetected = false}) → DVKioskStrength - The strongest a target can be, before the policy is taken into account.
-
resolve(
{required DVKioskPolicy policy, required DVKioskTarget target, bool displayKiosk = false, bool hasTouch = true, bool browserKioskDetected = false}) → DVKioskEnforcement -
Resolves
policyagainst whattargetcan do.