AI-generated Key Takeaways
-
AuthenticatorErrorResponse represents the response when an error occurs during an authentication process.
-
It inherits constants from the Parcelable interface and methods from AuthenticatorResponse and java.lang.Object classes.
-
Key methods allow for getting the error code, error message, client data, and for serializing/deserializing the response.
-
The class includes methods for object comparison (
equals,hashCode), string representation (toString), and Parcelable implementation (writeToParcel).
The response after an error occurred.
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 |
hashCode()
|
| byte[] |
serializeToBytes()
Serializes the
AuthenticatorErrorResponse to bytes.
|
| String |
toString()
|
| 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().
Returns
- The deserialized
AuthenticatorErrorResponse.
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.
Returns
- the serialized byte array.