Compartilhar via


IInputMethodSession.ViewClicked(Boolean) Method

Definition

This method is called when the user tapped a text view.

[Android.Runtime.Register("viewClicked", "(Z)V", "GetViewClicked_ZHandler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void ViewClicked (bool focusChanged);
[<Android.Runtime.Register("viewClicked", "(Z)V", "GetViewClicked_ZHandler:Android.Views.InputMethods.IInputMethodSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ViewClicked : bool -> unit

Parameters

focusChanged
Boolean

true if the user changed the focused view by this click.

Attributes

Remarks

This method is called when the user tapped a text view. IMEs can't rely on this method being called because this was not part of the original IME protocol, so applications with custom text editing written before this method appeared will not call to inform the IME of this interaction.

Java documentation for android.view.inputmethod.InputMethodSession.viewClicked(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