CompletionInfo 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
CompletionInfo(Int64, Int32, ICharSequence) |
Create a simple completion with just text, no label. |
CompletionInfo(Int64, Int32, String) |
Create a simple completion with just text, no label. |
CompletionInfo(Int64, Int32, ICharSequence, ICharSequence) |
Create a full completion with both text and label. |
CompletionInfo(Int64, Int32, String, String) |
Create a full completion with both text and label. |
CompletionInfo(Int64, Int32, ICharSequence)
Create a simple completion with just text, no label.
[Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;)V", "")]
public CompletionInfo (long id, int index, Java.Lang.ICharSequence? text);
[<Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;)V", "")>]
new Android.Views.InputMethods.CompletionInfo : int64 * int * Java.Lang.ICharSequence -> Android.Views.InputMethods.CompletionInfo
Parameters
- id
- Int64
An id that get passed as is (to the editor's discretion)
- index
- Int32
An index that get passed as is. Typically this is the index in the list of completions inside the editor.
- text
- ICharSequence
The text that should be inserted into the editor when this completion is chosen.
- Attributes
Remarks
Create a simple completion with just text, no label.
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
CompletionInfo(Int64, Int32, String)
Create a simple completion with just text, no label.
[Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;)V", "")]
public CompletionInfo (long id, int index, string? text);
[<Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;)V", "")>]
new Android.Views.InputMethods.CompletionInfo : int64 * int * string -> Android.Views.InputMethods.CompletionInfo
Parameters
- id
- Int64
- index
- Int32
- text
- String
- Attributes
Remarks
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
CompletionInfo(Int64, Int32, ICharSequence, ICharSequence)
Create a full completion with both text and label.
[Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")]
public CompletionInfo (long id, int index, Java.Lang.ICharSequence? text, Java.Lang.ICharSequence? label);
[<Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")>]
new Android.Views.InputMethods.CompletionInfo : int64 * int * Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.Views.InputMethods.CompletionInfo
Parameters
- id
- Int64
An id that get passed as is (to the editor's discretion)
- index
- Int32
An index that get passed as is. Typically this is the index in the list of completions inside the editor.
- text
- ICharSequence
The text that should be inserted into the editor when this completion is chosen.
- label
- ICharSequence
The text that the IME should be showing among the completions list.
- Attributes
Remarks
Create a full completion with both text and label. The text is what will get inserted into the editor, while the label is what the IME should display. If they are the same, use the version of the constructor without a `label' argument.
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
CompletionInfo(Int64, Int32, String, String)
Create a full completion with both text and label.
[Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")]
public CompletionInfo (long id, int index, string? text, string? label);
[<Android.Runtime.Register(".ctor", "(JILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")>]
new Android.Views.InputMethods.CompletionInfo : int64 * int * string * string -> Android.Views.InputMethods.CompletionInfo
Parameters
- id
- Int64
- index
- Int32
- text
- String
- label
- String
- Attributes
Remarks
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.