共用方式為


DevicePolicyManager.FlagParentCanAccessManaged 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 parent profile to access intents sent from the managed profile.

[Android.Runtime.Register("FLAG_PARENT_CAN_ACCESS_MANAGED")]
[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 FlagParentCanAccessManaged = 1;
[<Android.Runtime.Register("FLAG_PARENT_CAN_ACCESS_MANAGED")>]
[<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 FlagParentCanAccessManaged : Android.App.Admin.DevicePolicyManagerFlags

Field Value

Value = 1
Attributes

Remarks

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

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

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