语言

DevicePolicyManager.AppFunctionsDisabledCrossProfile 字段

定义

注意

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

指示 android.app.appfunctions.AppFunctionManager 策略仅对跨配置文件交互(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

字段值

Value = 2
特性

注解

指示 android.app.appfunctions.AppFunctionManager 策略仅控制并禁用了跨配置文件交互的策略,i.e. app当前用户中应用公开的函数只能在同一用户中调用。

这不同于 #APP_FUNCTIONS_DISABLED 它只禁用跨配置文件交互(即使调用方具有跨用户交互所需的权限)。 appfunction 仍可在用户配置文件边界内使用。

Java文档android.app.admin.DevicePolicyManager.APP_FUNCTIONS_DISABLED_CROSS_PROFILE。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于