CrossProfilePolicies class
Controls the data from the work profile that can be accessed from the personal profile and vice versa.
A nonComplianceDetail with MANAGEMENT_MODE is reported if the device does not have a work profile.
Constructors
- CrossProfilePolicies({String? crossProfileCopyPaste, String? crossProfileDataSharing, PackageNameList? exemptionsToShowWorkContactsInPersonalProfile, String? showWorkContactsInPersonalProfile, String? workProfileWidgetsDefault})
- CrossProfilePolicies.fromJson(Map json_)
Properties
- crossProfileCopyPaste ↔ String?
-
Whether text copied from one profile (personal or work) can be pasted in
the other profile.
Possible string values are:
getter/setter pair
- crossProfileDataSharing ↔ String?
-
Whether data from one profile (personal or work) can be shared with apps
in the other profile.
getter/setter pair
- exemptionsToShowWorkContactsInPersonalProfile ↔ PackageNameList?
-
List of apps which are excluded from the ShowWorkContactsInPersonalProfile
setting.
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
- showWorkContactsInPersonalProfile ↔ String?
-
Whether personal apps can access contacts stored in the work profile.See
also exemptions_to_show_work_contacts_in_personal_profile.
Possible string values are:
getter/setter pair
- workProfileWidgetsDefault ↔ String?
-
Specifies the default behaviour for work profile widgets.
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