语言

CrossDeviceAuthenticationException.ErrorUnauthorized 字段

定义

注意

This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.

请求未获授权。

[Android.Runtime.Register("ERROR_UNAUTHORIZED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.", true)]
public const Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode ErrorUnauthorized = 1;
[<Android.Runtime.Register("ERROR_UNAUTHORIZED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.", true)>]
val mutable ErrorUnauthorized : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode

字段值

Value = 1
特性

注解

请求未获授权。 此错误表示用户必须在源设备上执行一些操作,然后才能完成请求。 所需条件因外形规格而异,但通常需要直接解锁源设备或与另一个受信任设备建立活动连接。 有关更多详细信息,请参阅关联的消息。 对于不改变的常见错误条件,将返回此类中更具体的错误代码。

Android 参考。android.security.authenticationpolicy.CrossDeviceAuthenticationException.ERROR_UNAUTHORIZED

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

适用于