public class

AccountAuthenticatorResponse

extends Object
implements Parcelable
java.lang.Object
   ↳ android.accounts.AccountAuthenticatorResponse

Class Overview

Object used to communicate responses back to the AccountManager

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<AccountAuthenticatorResponse> CREATOR
Public Constructors
AccountAuthenticatorResponse(Parcel parcel)
Public Methods
int describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
void onError(int errorCode, String errorMessage)
void onRequestContinued()
void onResult(Bundle result)
void writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<AccountAuthenticatorResponse> CREATOR

Since: API Level 5

Public Constructors

public AccountAuthenticatorResponse (Parcel parcel)

Since: API Level 5

Public Methods

public int describeContents ()

Since: API Level 5

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Returns
  • a bitmask indicating the set of special object types marshalled by the Parcelable.

public void onError (int errorCode, String errorMessage)

Since: API Level 5

public void onRequestContinued ()

Since: API Level 5

public void onResult (Bundle result)

Since: API Level 5

public void writeToParcel (Parcel dest, int flags)

Since: API Level 5

Flatten this object in to a Parcel.

Parameters
dest The Parcel in which the object should be written.
flags Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.