共用方式為


UserManager.AllowParentProfileAppLinking Field

Definition

Allows apps in the parent profile to handle web links from the managed profile.

[Android.Runtime.Register("ALLOW_PARENT_PROFILE_APP_LINKING", ApiSince=23)]
public const string AllowParentProfileAppLinking;
[<Android.Runtime.Register("ALLOW_PARENT_PROFILE_APP_LINKING", ApiSince=23)>]
val mutable AllowParentProfileAppLinking : string

Field Value

Attributes

Remarks

Allows apps in the parent profile to handle web links from the managed profile.

This user restriction has an effect only in a managed profile. If set: Intent filters of activities in the parent profile with action android.content.Intent#ACTION_VIEW, category android.content.Intent#CATEGORY_BROWSABLE, scheme http or https, and which define a host can handle intents from the managed profile.

Holders of the permission android.Manifest.permission#MANAGE_DEVICE_POLICY_PROFILES can set this restriction using the DevicePolicyManager APIs mentioned below.

The default value is false.

Key for user restrictions.

Type: Boolean

Java documentation for android.os.UserManager.ALLOW_PARENT_PROFILE_APP_LINKING.

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