语言

UserManager.UserCreationFailedNoMoreUsers 字段

定义

注意

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

指示无法在此设备上创建更多用户的错误结果。

[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

字段值

Value = 2
特性

注解

指示无法在此设备上创建更多用户的错误结果。 这是从意向 #createUserCreationIntent(String, String, String, PersistableBundle)创建的活动返回的结果代码。

Java文档android.os.UserManager.USER_CREATION_FAILED_NO_MORE_USERS。

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

适用于