Language

InputMethodInfo Constructors

Definition

Overloads

Name Description
InputMethodInfo(Context, ResolveInfo)

Constructor.

InputMethodInfo(String, String, ICharSequence, String)

Temporary API for creating a built-in input method for test.

InputMethodInfo(String, String, String, String)

Temporary API for creating a built-in input method for test.

InputMethodInfo(Context, ResolveInfo)

Constructor.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/content/pm/ResolveInfo;)V", "")]
public InputMethodInfo(Android.Content.Context? context, Android.Content.PM.ResolveInfo? service);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/content/pm/ResolveInfo;)V", "")>]
new Android.Views.InputMethods.InputMethodInfo : Android.Content.Context * Android.Content.PM.ResolveInfo -> Android.Views.InputMethods.InputMethodInfo

Parameters

context
Context

The Context in which we are parsing the input method.

service
ResolveInfo

The ResolveInfo returned from the package manager about this input method's component.

Attributes

Exceptions

The input method metadata is missing, invalid, or cannot be parsed.

An I/O error occurs while reading the input method metadata resource.

Remarks

Constructor.

Java documentation for android.view.inputmethod.InputMethodInfo.InputMethodInfo(android.content.Context, android.content.pm.ResolveInfo).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

InputMethodInfo(String, String, ICharSequence, String)

Temporary API for creating a built-in input method for test.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)V", "")]
public InputMethodInfo(string? packageName, string? className, Java.Lang.ICharSequence? label, string? settingsActivity);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)V", "")>]
new Android.Views.InputMethods.InputMethodInfo : string * string * Java.Lang.ICharSequence * string -> Android.Views.InputMethods.InputMethodInfo

Parameters

packageName
String

The package containing the input method service.

className
String

The class name of the input method service.

label
ICharSequence

The display label for the input method.

settingsActivity
String

The class name of the input method settings activity.

Attributes

Remarks

Temporary API for creating a built-in input method for test.

Java documentation for android.view.inputmethod.InputMethodInfo.InputMethodInfo(java.lang.String, java.lang.String, java.lang.CharSequence, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

InputMethodInfo(String, String, String, String)

Temporary API for creating a built-in input method for test.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)V", "")]
public InputMethodInfo(string? packageName, string? className, string? label, string? settingsActivity);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)V", "")>]
new Android.Views.InputMethods.InputMethodInfo : string * string * string * string -> Android.Views.InputMethods.InputMethodInfo

Parameters

packageName
String

The package containing the input method service.

className
String

The class name of the input method service.

label
String

The display label for the input method.

settingsActivity
String

The class name of the input method settings activity.

Attributes

Remarks

Temporary API for creating a built-in input method for test.

Android reference for android.view.inputmethod.InputMethodInfo.InputMethodInfo.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to