Share via


DevicePolicyManager.FlagManagedCanAccessParent Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.DevicePolicyManagerFlags enum directly instead of this field.

Flag used by #addCrossProfileIntentFilter to allow activities in the managed profile to access intents sent from the parent profile.

[Android.Runtime.Register("FLAG_MANAGED_CAN_ACCESS_PARENT")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DevicePolicyManagerFlags enum directly instead of this field.", true)]
public const Android.App.Admin.DevicePolicyManagerFlags FlagManagedCanAccessParent = 2;
[<Android.Runtime.Register("FLAG_MANAGED_CAN_ACCESS_PARENT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DevicePolicyManagerFlags enum directly instead of this field.", true)>]
val mutable FlagManagedCanAccessParent : Android.App.Admin.DevicePolicyManagerFlags

Field Value

Value = 2
Attributes

Remarks

Flag used by #addCrossProfileIntentFilter to allow activities in the managed profile to access intents sent from the parent profile. That is, when an app in the parent profile calls Activity#startActivity(Intent), the intent can be resolved by a matching activity in the managed profile.

Java documentation for android.app.admin.DevicePolicyManager.FLAG_MANAGED_CAN_ACCESS_PARENT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to