DevicePolicyManager.MakeUserEphemeral 字段

定义

注意

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

用于 #createAndManageUser 指定应创建临时用户的标志。

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

字段值

Value = 2
属性

注解

用于 #createAndManageUser 指定应创建临时用户的标志。 切换到其他用户或重新启动设备后,将删除临时用户。

适用于 . 的 android.app.admin.DevicePolicyManager.MAKE_USER_EPHEMERALJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于