Language

CrossDeviceAuthenticationException Constructors

Definition

Overloads

CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode)

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)]
public CrossDeviceAuthenticationException(Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode errorCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)>]
new Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode -> Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException

Parameters

errorCode
CrossDeviceAuthenticationExceptionErrorCode

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

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

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

CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode, String)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)]
public CrossDeviceAuthenticationException(Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode errorCode, string message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)>]
new Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode * string -> Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException

Parameters

errorCode
CrossDeviceAuthenticationExceptionErrorCode

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

message
String
Attributes

Remarks

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

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

CrossDeviceAuthenticationException(CrossDeviceAuthenticationExceptionErrorCode, String, Throwable)

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=37)]
public CrossDeviceAuthenticationException(Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode errorCode, string message, Java.Lang.Throwable cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=37)>]
new Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode * string * Java.Lang.Throwable -> Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationException

Parameters

errorCode
CrossDeviceAuthenticationExceptionErrorCode

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

message
String
cause
Throwable
Attributes

Remarks

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

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