crossProfileDataSharing property

String? crossProfileDataSharing
getter/setter pair

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. Possible string values are:

  • "CROSS_PROFILE_DATA_SHARING_UNSPECIFIED" : Unspecified. Defaults to DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED.
  • "CROSS_PROFILE_DATA_SHARING_DISALLOWED" : Prevents data from being shared from both the personal profile to the work profile and the work profile to the personal profile.
  • "DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED" : Default. Prevents users from sharing data from the work profile to apps in the personal profile. Personal data can be shared with work apps.
  • "CROSS_PROFILE_DATA_SHARING_ALLOWED" : Data from either profile can be shared with the other profile.

Implementation

core.String? crossProfileDataSharing;