Show / Hide Table of Contents

Class CrossProfilePolicies

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.

Inheritance
object
CrossProfilePolicies
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AndroidManagement.v1.Data
Assembly: Google.Apis.AndroidManagement.v1.dll
Syntax
public class CrossProfilePolicies : IDirectResponseSchema

Properties

CrossProfileCopyPaste

Whether text copied from one profile (personal or work) can be pasted in the other profile.

Declaration
[JsonProperty("crossProfileCopyPaste")]
public virtual string CrossProfileCopyPaste { get; set; }
Property Value
Type Description
string

CrossProfileDataSharing

Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work & personal apps, are configured separately.

Declaration
[JsonProperty("crossProfileDataSharing")]
public virtual string CrossProfileDataSharing { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExemptionsToShowWorkContactsInPersonalProfile

List of apps which are excluded from the ShowWorkContactsInPersonalProfile setting. For this to be set, ShowWorkContactsInPersonalProfile must be set to one of the following values: SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED. In this case, these exemptions act as a blocklist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED. In this case, these exemptions act as an allowlist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM. In this case, these exemptions act as an allowlist, in addition to the already allowlisted system apps.Supported on Android 14 and above. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 14.

Declaration
[JsonProperty("exemptionsToShowWorkContactsInPersonalProfile")]
public virtual PackageNameList ExemptionsToShowWorkContactsInPersonalProfile { get; set; }
Property Value
Type Description
PackageNameList

ShowWorkContactsInPersonalProfile

Whether personal apps can access contacts stored in the work profile.See also exemptions_to_show_work_contacts_in_personal_profile.

Declaration
[JsonProperty("showWorkContactsInPersonalProfile")]
public virtual string ShowWorkContactsInPersonalProfile { get; set; }
Property Value
Type Description
string

WorkProfileWidgetsDefault

Specifies the default behaviour for work profile widgets. If the policy does not specify work_profile_widgets for a specific application, it will behave according to the value specified here.

Declaration
[JsonProperty("workProfileWidgetsDefault")]
public virtual string WorkProfileWidgetsDefault { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX