java.lang.Object | |
↳ | android.accounts.AuthenticatorDescription |
A
Parcelable
value type that contains information about an account authenticator.
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
CREATOR | Used to create the object from a parcel. | |||||||||
|
accountPreferencesId | A resource id for a hierarchy of PreferenceScreen to be added to the settings page for the account. | |||||||||
|
customTokens | Authenticator handles its own token caching and permission screen | |||||||||
|
iconId | A resource id of a icon for the authenticator | |||||||||
|
labelId | A resource id of a label for the authenticator that is suitable for displaying | |||||||||
|
packageName | The package name that can be used to lookup the resources from above. | |||||||||
|
smallIconId | A resource id of a smaller icon for the authenticator | |||||||||
|
type | The string that uniquely identifies an authenticator |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
A constructor for a full AuthenticatorDescription
|
||||||||||
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
||||||||||
|
Compares the type only, suitable for key comparisons.
|
||||||||||
|
Returns the hashcode of the type only.
|
||||||||||
|
A factory method for creating an AuthenticatorDescription that can be used as a key
to identify the authenticator by its type.
|
||||||||||
|
Returns a string containing a concise, human-readable description of this
object.
|
||||||||||
|
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.os.Parcelable
|
Used to create the object from a parcel.
A resource id for a hierarchy of PreferenceScreen to be added to the settings page for the
account. See
AbstractAccountAuthenticator
for an example.
Authenticator handles its own token caching and permission screen
A resource id of a label for the authenticator that is suitable for displaying
The package name that can be used to lookup the resources from above.
A resource id of a smaller icon for the authenticator
A constructor for a full AuthenticatorDescription
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Compares the type only, suitable for key comparisons.
o | the object to compare this instance with. |
---|
true
if the specified object is equal to this
Object
;
false
otherwise.
Returns the hashcode of the type only.
A factory method for creating an AuthenticatorDescription that can be used as a key to identify the authenticator by its type.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See
Writing a useful
toString
method
if you intend implementing your own
toString
method.
Flatten this object in to a Parcel.
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
.
|