IT. Expert System.

Android Reference

AuthenticatorDescription


android.accounts

Class AuthenticatorDescription

  • All Implemented Interfaces:
    Parcelable


    public class AuthenticatorDescription
    extends Object
    implements Parcelable
    A Parcelable value type that contains information about an account authenticator.
    • Field Detail

      • type

        public final String type
        The string that uniquely identifies an authenticator
      • labelId

        public final int labelId
        A resource id of a label for the authenticator that is suitable for displaying
      • iconId

        public final int iconId
        A resource id of a icon for the authenticator
      • smallIconId

        public final int smallIconId
        A resource id of a smaller icon for the authenticator
      • accountPreferencesId

        public final int accountPreferencesId
        A resource id for a hierarchy of PreferenceScreen to be added to the settings page for the account. See AbstractAccountAuthenticator for an example.
      • packageName

        public final String packageName
        The package name that can be used to lookup the resources from above.
      • customTokens

        public final boolean customTokens
        Authenticator handles its own token caching and permission screen
    • Constructor Detail

      • AuthenticatorDescription

        public AuthenticatorDescription(String type,
                                String packageName,
                                int labelId,
                                int iconId,
                                int smallIconId,
                                int prefId,
                                boolean customTokens)
        A constructor for a full AuthenticatorDescription
      • AuthenticatorDescription

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

      • newKey

        public static AuthenticatorDescription newKey(String type)
        A factory method for creating an AuthenticatorDescription that can be used as a key to identify the authenticator by its type.
      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.
      • equals

        public boolean equals(Object o)
        Compares the type only, suitable for key comparisons.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to compare this instance with.
        Returns:
        true if the specified object is equal to this Object; false otherwise.
        See Also:
        Object.hashCode()
      • toString

        public String toString()
        Description copied from class: Object
        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.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 204 / 158848616. Delta: 0.08360 с