android.accounts
Class AuthenticatorDescription

java.lang.Object
  extended by android.accounts.AuthenticatorDescription
All Implemented Interfaces:
Parcelable

public class AuthenticatorDescription
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 int accountPreferencesId
           
static Parcelable.Creator<AuthenticatorDescription> CREATOR
           
 boolean customTokens
           
 int iconId
           
 int labelId
           
 String packageName
           
 int smallIconId
           
 String type
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
AuthenticatorDescription(String type, String packageName, int labelId, int iconId, int smallIconId, int prefId)
           
AuthenticatorDescription(String type, String packageName, int labelId, int iconId, int smallIconId, int prefId, boolean customTokens)
           
 
Method Summary
 int describeContents()
           
 boolean equals(Object o)
           
 int hashCode()
           
static AuthenticatorDescription newKey(String type)
           
 String toString()
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

type

public final String type

labelId

public final int labelId

iconId

public final int iconId

smallIconId

public final int smallIconId

accountPreferencesId

public final int accountPreferencesId

packageName

public final String packageName

customTokens

public final boolean customTokens

CREATOR

public static final Parcelable.Creator<AuthenticatorDescription> CREATOR
Constructor Detail

AuthenticatorDescription

public AuthenticatorDescription(String type,
                                String packageName,
                                int labelId,
                                int iconId,
                                int smallIconId,
                                int prefId,
                                boolean customTokens)

AuthenticatorDescription

public AuthenticatorDescription(String type,
                                String packageName,
                                int labelId,
                                int iconId,
                                int smallIconId,
                                int prefId)
Method Detail

newKey

public static AuthenticatorDescription newKey(String type)

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.