Share via


DevicePolicyManager.AppFunctionsDisabledCrossProfile Field

Definition

Caution

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

Indicates that android.app.appfunctions.AppFunctionManager is controlled and disabled by a policy for cross profile interactions only, i.

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

Field Value

Value = 2
Attributes

Remarks

Indicates that android.app.appfunctions.AppFunctionManager is controlled and disabled by a policy for cross profile interactions only, i.e. app functions exposed by apps in the current user can only be invoked within the same user.

This is different from #APP_FUNCTIONS_DISABLED in that it only disables cross profile interactions (even if the caller has permissions required to interact across users). appfunctions can still be used within the a user profile boundary.

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

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