Language

CrossDeviceAuthenticationException.ErrorCode Property

Definition

Returns the error code associated with this exception.

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

Property Value

Value is one of the following: 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

Attributes

Remarks

Returns the error code associated with this exception.

Android reference for android.security.authenticationpolicy.CrossDeviceAuthenticationException.getErrorCode.

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