Compartilhar via


InputMethodService.OnFinishCandidatesView(Boolean) Method

Definition

Called when the candidates view is being hidden from the user.

[Android.Runtime.Register("onFinishCandidatesView", "(Z)V", "GetOnFinishCandidatesView_ZHandler")]
public virtual void OnFinishCandidatesView (bool finishingInput);
[<Android.Runtime.Register("onFinishCandidatesView", "(Z)V", "GetOnFinishCandidatesView_ZHandler")>]
abstract member OnFinishCandidatesView : bool -> unit
override this.OnFinishCandidatesView : bool -> unit

Parameters

finishingInput
Boolean

If true, #onFinishInput will be called immediately after.

Attributes

Remarks

Called when the candidates view is being hidden from the user. This will be called either prior to hiding the window, or prior to switching to another target for editing.

The default implementation uses the InputConnection to clear any active composing text; you can override this (not calling the base class implementation) to perform whatever behavior you would like.

Java documentation for android.inputmethodservice.InputMethodService.onFinishCandidatesView(boolean).

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