AuthenticatorErrorResponse | Doclava
public class

AuthenticatorErrorResponse

extends AuthenticatorResponse
java.lang.Object
   ↳ com.google.android.gms.fido.fido2.api.common.AuthenticatorResponse
     ↳ com.google.android.gms.fido.fido2.api.common.AuthenticatorErrorResponse

Class Overview

Represents an error response data object

Summary

Nested Classes
class AuthenticatorErrorResponse.Builder Builds AuthenticatorErrorResponse  
[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
static AuthenticatorErrorResponse deserializeFromBytes(byte[] serializedBytes)
De-serializes the AuthenticatorErrorResponse from bytes, reversing serializeToBytes().
boolean equals(Object obj)
byte[] getClientDataJSON()
ErrorCode getErrorCode()
int getErrorCodeAsInt()
String getErrorMessage()
int hashCode()
byte[] serializeToBytes()
Serializes the AuthenticatorErrorResponse to bytes.
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class com.google.android.gms.fido.fido2.api.common.AuthenticatorResponse
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public static AuthenticatorErrorResponse deserializeFromBytes (byte[] serializedBytes)

De-serializes the AuthenticatorErrorResponse from bytes, reversing serializeToBytes(). See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Parameters
serializedBytes byte: The serialized bytes.
Returns
AuthenticatorErrorResponse The deserialized AuthenticatorErrorResponse.

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public byte[] getClientDataJSON ()

Returns
byte[]

public ErrorCode getErrorCode ()

Returns
ErrorCode

public int getErrorCodeAsInt ()

Returns
int

public String getErrorMessage ()

Returns
String

public int hashCode ()

Returns
int

public byte[] serializeToBytes ()

Serializes the AuthenticatorErrorResponse to bytes. Use deserializeFromBytes(byte[]) to deserialize. See go/gmscore-perf/reflectedparcelable for why we can't rely on Parcelable behaviour.

Returns
byte[] the serialized byte array.

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int