IT. Expert System.

Android Reference

InputMethodInfo


android.view.inputmethod

Class InputMethodInfo

  • All Implemented Interfaces:
    Parcelable


    public final class InputMethodInfo
    extends Object
    implements Parcelable
    This class is used to specify meta information of an input method.
    • Method Detail

      • getId

        public String getId()
        Return a unique ID for this input method. The ID is generated from the package and class name implementing the method.
      • getPackageName

        public String getPackageName()
        Return the .apk package that implements this input method.
      • getServiceName

        public String getServiceName()
        Return the class name of the service component that implements this input method.
      • getServiceInfo

        public ServiceInfo getServiceInfo()
        Return the raw information about the Service implementing this input method. Do not modify the returned object.
      • getComponent

        public ComponentName getComponent()
        Return the component of the service that implements this input method.
      • loadLabel

        public CharSequence loadLabel(PackageManager pm)
        Load the user-displayed label for this input method.
        Parameters:
        pm - Supply a PackageManager used to load the input method's resources.
      • loadIcon

        public Drawable loadIcon(PackageManager pm)
        Load the user-displayed icon for this input method.
        Parameters:
        pm - Supply a PackageManager used to load the input method's resources.
      • getSettingsActivity

        public String getSettingsActivity()
        Return the class name of an activity that provides a settings UI for the input method. You can launch this activity be starting it with an Intent whose action is MAIN and with an explicit ComponentName composed of getPackageName() and the class name returned here.

        A null will be returned if there is no settings activity associated with the input method.

      • getSubtypeCount

        public int getSubtypeCount()
        Return the count of the subtypes of Input Method.
      • getSubtypeAt

        public InputMethodSubtype getSubtypeAt(int index)
        Return the Input Method's subtype at the specified index.
        Parameters:
        index - the index of the subtype to return.
      • getIsDefaultResourceId

        public int getIsDefaultResourceId()
        Return the resource identifier of a resource inside of this input method's .apk that determines whether it should be considered a default input method for the system.
      • 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.
      • equals

        public boolean equals(Object o)
        Used to test whether the given parameter object is an InputMethodInfo and its Id is the same to this one.
        Overrides:
        equals in class Object
        Parameters:
        o - the object to compare this instance with.
        Returns:
        true if the given parameter object is an InputMethodInfo and its Id is the same to this one.
        See Also:
        Object.hashCode()
      • hashCode

        public int hashCode()
        Description copied from class: Object
        Returns an integer hash code for this object. By contract, any two objects for which Object.equals(java.lang.Object) returns true must return the same hash code value. This means that subclasses of Object usually override both methods or neither method.

        Note that hash values must not change over time unless information used in equals comparisons also changes.

        See Writing a correct hashCode method if you intend implementing your own hashCode method.

        Overrides:
        hashCode in class Object
        Returns:
        this object's hash code.
        See Also:
        Object.equals(java.lang.Object)
      • isAuxiliaryIme

        public boolean isAuxiliaryIme()
      • writeToParcel

        public void writeToParcel(Parcel dest,
                         int flags)
        Used to package this object into a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        Parameters:
        dest - The Parcel to be written.
        flags - The flags used for parceling.
      • 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.


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: 265 / 158775862. Delta: 0.23155 с