Android APIs
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

Added in API level 5

Public Constructors

public AccountAuthenticatorResponse (Parcel parcel)

Added in API level 5

Public Methods

public int describeContents ()

Added in 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)

Added in API level 5

public void onRequestContinued ()

Added in API level 5

public void onResult (Bundle result)

Added in API level 5

public void writeToParcel (Parcel dest, int flags)

Added in 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.