Compartilhar via


IInputMethodSession.DisplayCompletions(CompletionInfo[]) Method

Definition

Called by a text editor that performs auto completion, to tell the input method about the completions it has available.

[Android.Runtime.Register("displayCompletions", "([Landroid/view/inputmethod/CompletionInfo;)V", "GetDisplayCompletions_arrayLandroid_view_inputmethod_CompletionInfo_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void DisplayCompletions (Android.Views.InputMethods.CompletionInfo[]? completions);
[<Android.Runtime.Register("displayCompletions", "([Landroid/view/inputmethod/CompletionInfo;)V", "GetDisplayCompletions_arrayLandroid_view_inputmethod_CompletionInfo_Handler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member DisplayCompletions : Android.Views.InputMethods.CompletionInfo[] -> unit

Parameters

completions
CompletionInfo[]

Array of text completions that are available, starting with the best. If this array is null, any existing completions will be removed.

Attributes

Remarks

Called by a text editor that performs auto completion, to tell the input method about the completions it has available. This can be used by the input method to display them to the user to select the text to be inserted.

Java documentation for android.view.inputmethod.InputMethodSession.displayCompletions(android.view.inputmethod.CompletionInfo[]).

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