TextView.OnCommitCompletion(CompletionInfo) Method
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.
Called by the framework in response to a text completion from
the current input method, provided by it calling
InputConnection#commitCompletion
InputConnection.commitCompletion()
.
[Android.Runtime.Register("onCommitCompletion", "(Landroid/view/inputmethod/CompletionInfo;)V", "GetOnCommitCompletion_Landroid_view_inputmethod_CompletionInfo_Handler")]
public virtual void OnCommitCompletion (Android.Views.InputMethods.CompletionInfo? text);
[<Android.Runtime.Register("onCommitCompletion", "(Landroid/view/inputmethod/CompletionInfo;)V", "GetOnCommitCompletion_Landroid_view_inputmethod_CompletionInfo_Handler")>]
abstract member OnCommitCompletion : Android.Views.InputMethods.CompletionInfo -> unit
override this.OnCommitCompletion : Android.Views.InputMethods.CompletionInfo -> unit
Parameters
- text
- CompletionInfo
The auto complete text the user has selected.
- Attributes
Remarks
Called by the framework in response to a text completion from the current input method, provided by it calling InputConnection#commitCompletion InputConnection.commitCompletion()
. The default implementation does nothing; text views that are supporting auto-completion should override this to do their desired behavior.
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.