android.view.inputmethod
Class InputMethodInfo

java.lang.Object
  extended by android.view.inputmethod.InputMethodInfo
All Implemented Interfaces:
Parcelable

public final class InputMethodInfo
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<InputMethodInfo> CREATOR
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
InputMethodInfo(Context context, ResolveInfo service)
           
InputMethodInfo(String packageName, String className, CharSequence label, String settingsActivity)
           
 
Method Summary
 int describeContents()
           
 void dump(Printer pw, String prefix)
           
 boolean equals(Object o)
           
 ComponentName getComponent()
           
 String getId()
           
 int getIsDefaultResourceId()
           
 String getPackageName()
           
 ServiceInfo getServiceInfo()
           
 String getServiceName()
           
 String getSettingsActivity()
           
 InputMethodSubtype getSubtypeAt(int index)
           
 int getSubtypeCount()
           
 int hashCode()
           
 Drawable loadIcon(PackageManager pm)
           
 CharSequence loadLabel(PackageManager pm)
           
 String toString()
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATOR

public static final Parcelable.Creator<InputMethodInfo> CREATOR
Constructor Detail

InputMethodInfo

public InputMethodInfo(Context context,
                       ResolveInfo service)
                throws org.xmlpull.v1.XmlPullParserException,
                       IOException
Throws:
org.xmlpull.v1.XmlPullParserException
IOException

InputMethodInfo

public InputMethodInfo(String packageName,
                       String className,
                       CharSequence label,
                       String settingsActivity)
Method Detail

getId

public String getId()

getPackageName

public String getPackageName()

getServiceName

public String getServiceName()

getServiceInfo

public ServiceInfo getServiceInfo()

getComponent

public ComponentName getComponent()

loadLabel

public CharSequence loadLabel(PackageManager pm)

loadIcon

public Drawable loadIcon(PackageManager pm)

getSettingsActivity

public String getSettingsActivity()

getSubtypeCount

public int getSubtypeCount()

getSubtypeAt

public InputMethodSubtype getSubtypeAt(int index)

getIsDefaultResourceId

public int getIsDefaultResourceId()

dump

public void dump(Printer pw,
                 String prefix)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.