PolicyEnforcementRule class

A rule that defines the actions to take if a device or work profile is not compliant with the policy specified in settingName.

In the case of multiple matching or multiple triggered enforcement rules, a merge will occur with the most severe action being taken. However, all triggered rules are still kept track of: this includes initial trigger time and all associated non-compliance details. In the situation where the most severe enforcement rule is satisfied, the next most appropriate action is applied.

Constructors

PolicyEnforcementRule({BlockAction? blockAction, String? settingName, WipeAction? wipeAction})
PolicyEnforcementRule.fromJson(Map json_)

Properties

blockAction BlockAction?
An action to block access to apps and data on a company owned device or in a work profile.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settingName String?
The top-level policy to enforce.
getter/setter pair
wipeAction WipeAction?
An action to reset a company owned device or delete a work profile.
getter/setter pair

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