java.lang.Object | |
↳ | android.view.inputmethod.InputMethodInfo |
This class is used to specify meta information of an input method.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | Used to make this class parcelable. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Temporary API for creating a built-in input method.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Used to test whether the given parameter object is an
InputMethodInfo and its Id is the same to this one. | |||||||||||
Return the component of the service that implements this input
method.
| |||||||||||
Return a unique ID for this input method.
| |||||||||||
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.
| |||||||||||
Return the .apk package that implements this input method.
| |||||||||||
Return the raw information about the Service implementing this
input method.
| |||||||||||
Return the class name of the service component that implements
this input method.
| |||||||||||
Return the class name of an activity that provides a settings UI for
the input method.
| |||||||||||
Return the Input Method's subtype at the specified index.
| |||||||||||
Return the count of the subtypes of Input Method.
| |||||||||||
Load the user-displayed icon for this input method.
| |||||||||||
Load the user-displayed label for this input method.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
Used to package this object into a
Parcel . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Used to make this class parcelable.
Constructor.
context | The Context in which we are parsing the input method. |
---|---|
service | The ResolveInfo returned from the package manager about this input method's component. |
Temporary API for creating a built-in input method.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Used to test whether the given parameter object is an
InputMethodInfo
and its Id is the same to this one.
o | the object to compare this instance with. |
---|
InputMethodInfo
and its Id is the same to this one.
Return the component of the service that implements this input method.
Return a unique ID for this input method. The ID is generated from the package and class name implementing the method.
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.
Return the .apk package that implements this input method.
Return the raw information about the Service implementing this input method. Do not modify the returned object.
Return the class name of the service component that implements this input method.
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.
Return the Input Method's subtype at the specified index.
index | the index of the subtype to return. |
---|
Load the user-displayed icon for this input method.
pm | Supply a PackageManager used to load the input method's resources. |
---|
Load the user-displayed label for this input method.
pm | Supply a PackageManager used to load the input method's resources. |
---|
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.