语言

CrossDeviceAuthenticationException.ErrorCode 属性

定义

返回与此异常关联的错误代码。

public Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=37)>]
member this.ErrorCode : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode

属性值

值为下列值之一:ERROR_UNKNOWN;ERROR_UNAUTHORIZED;ERROR_DECRYPTION_FAILED;ERROR_INVALID_PACKAGE;ERROR_INVALID_TIMESTAMP;ERROR_SERIALIZATION_FAILED;ERROR_NOT_IN_FOREGROUND;ERROR_COMPANION_DEVICE_MANAGER_NOT_PRESENT

特性

注解

返回与此异常关联的错误代码。

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

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

适用于