InputMethodInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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.