IT. Expert System.

Android Reference


Class UserInfo

    • Field Detail


        public static final int FLAG_MASK_USER_TYPE
        6 bits for user type
        See Also:
        Constant Field Values

        public static final int FLAG_PRIMARY
        Primary user. Only one user can have this flag set. Meaning of this flag TBD.
        See Also:
        Constant Field Values
      • FLAG_ADMIN

        public static final int FLAG_ADMIN
        User with administrative privileges. Such a user can create and delete users.
        See Also:
        Constant Field Values
      • FLAG_GUEST

        public static final int FLAG_GUEST
        Indicates a guest user that may be transient.
        See Also:
        Constant Field Values

        public static final int FLAG_RESTRICTED
        Indicates the user has restrictions in privileges, in addition to those for normal users. Exact meaning TBD. For instance, maybe they can't install apps or administer WiFi access pts.
        See Also:
        Constant Field Values

        public static final int FLAG_INITIALIZED
        Indicates that this user has gone through its first-time initialization.
        See Also:
        Constant Field Values
      • id

        public int id
      • serialNumber

        public int serialNumber
      • iconPath

        public String iconPath
      • flags

        public int flags
      • creationTime

        public long creationTime
      • lastLoggedInTime

        public long lastLoggedInTime
      • partial

        public boolean partial
        User is only partially created.
    • Constructor Detail

      • UserInfo

        public UserInfo(int id,
                String name,
                int flags)
      • UserInfo

        public UserInfo(int id,
                String name,
                String iconPath,
                int flags)
      • UserInfo

        public UserInfo()
      • UserInfo

        public UserInfo(UserInfo orig)
    • Method Detail

      • isPrimary

        public boolean isPrimary()
      • isAdmin

        public boolean isAdmin()
      • isGuest

        public boolean isGuest()
      • 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.

        toString in class Object
        a printable representation of this object.
      • 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
        a bitmask indicating the set of special object types marshalled by the Parcelable.
      • writeToParcel

        public void writeToParcel(Parcel dest,
                         int parcelableFlags)
        Description copied from interface: Parcelable
        Flatten this object in to a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        dest - The Parcel in which the object should be written.
        parcelableFlags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.


Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)





Java Script








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

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: 354 / 159170937. Delta: 0.02918 с