Udostępnij za pośrednictwem


DevicePolicyManager.MakeUserEphemeral Field

Definition

Caution

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

Flag used by #createAndManageUser to specify that the user should be created ephemeral.

[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

Field Value

Value = 2
Attributes

Remarks

Flag used by #createAndManageUser to specify that the user should be created ephemeral. Ephemeral users will be removed after switching to another user or rebooting the device.

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

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