public final class InputMethodInfo extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
static Parcelable.Creator<InputMethodInfo> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
InputMethodInfo(Context context,
ResolveInfo service) |
InputMethodInfo(String packageName,
String className,
CharSequence label,
String settingsActivity) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final Parcelable.Creator<InputMethodInfo> CREATOR
public InputMethodInfo(Context context, ResolveInfo service) throws org.xmlpull.v1.XmlPullParserException, IOException
org.xmlpull.v1.XmlPullParserExceptionIOExceptionpublic InputMethodInfo(String packageName, String className, CharSequence label, String settingsActivity)
public String getId()
public String getPackageName()
public String getServiceName()
public ServiceInfo getServiceInfo()
public ComponentName getComponent()
public CharSequence loadLabel(PackageManager pm)
public Drawable loadIcon(PackageManager pm)
public String getSettingsActivity()
public int getSubtypeCount()
public InputMethodSubtype getSubtypeAt(int index)
public int getIsDefaultResourceId()
public void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic int describeContents()
describeContents in interface ParcelableCopyright © 2008-2013. All Rights Reserved.