InstallConstraint class
Amongst apps with InstallType set to: FORCE_INSTALLED PREINSTALLEDthis defines a set of restrictions for the app installation.
At least one of the fields must be set. When multiple fields are set, then all the constraints need to be satisfied for the app to be installed.
Constructors
- InstallConstraint({String? chargingConstraint, String? deviceIdleConstraint, String? networkTypeConstraint})
- InstallConstraint.fromJson(Map json_)
Properties
- chargingConstraint ↔ String?
-
Charging constraint.
getter/setter pair
- deviceIdleConstraint ↔ String?
-
Device idle constraint.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- networkTypeConstraint ↔ String?
-
Network type constraint.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited