AuthenticatorErrorResponse

public class AuthenticatorErrorResponse extends AuthenticatorResponse

Represents an error response data object

Nested Class Summary

class AuthenticatorErrorResponse.Builder Builds AuthenticatorErrorResponse  

Inherited Constant Summary

Public Method Summary

static AuthenticatorErrorResponse
deserializeFromBytes(byte[] serializedBytes)
De-serializes the AuthenticatorErrorResponse from bytes, reversing serializeToBytes().
boolean
byte[]
ErrorCode
int
String
int
byte[]
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

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 The serialized bytes.
Returns

public boolean equals (Object obj)

public byte[] getClientDataJSON ()

public ErrorCode getErrorCode ()

public int getErrorCodeAsInt ()

public String getErrorMessage ()

public int hashCode ()

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
  • the serialized byte array.

public void writeToParcel (Parcel dest, int flags)