Dela via


UserManager.UserCreationFailedNoMoreUsers Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.UserCreationFailureReason enum directly instead of this field.

Error result indicating that no more users can be created on this device.

[Android.Runtime.Register("USER_CREATION_FAILED_NO_MORE_USERS", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.UserCreationFailureReason enum directly instead of this field.", true)]
public const Android.OS.UserCreationFailureReason UserCreationFailedNoMoreUsers = 2;
[<Android.Runtime.Register("USER_CREATION_FAILED_NO_MORE_USERS", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.UserCreationFailureReason enum directly instead of this field.", true)>]
val mutable UserCreationFailedNoMoreUsers : Android.OS.UserCreationFailureReason

Field Value

Value = 2
Attributes

Remarks

Error result indicating that no more users can be created on this device. This is a result code returned from the activity created by the intent #createUserCreationIntent(String, String, String, PersistableBundle).

Java documentation for android.os.UserManager.USER_CREATION_FAILED_NO_MORE_USERS.

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