Sdílet prostřednictvím


AbstractInputMethodService.AbstractInputMethodSessionImpl.ViewClicked Method

Definition

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

[Android.Runtime.Register("viewClicked", "(Z)V", "GetViewClicked_ZHandler")]
public abstract void ViewClicked (bool focusChanged);
[<Android.Runtime.Register("viewClicked", "(Z)V", "GetViewClicked_ZHandler")>]
abstract member ViewClicked : bool -> unit

Parameters

focusChanged
Boolean

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

Implements

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