Language

TouchInteractionController.PerformClick Method

Definition

If RequestTouchExplorationMode is enabled and at least one callback has been added, this function tells the framework to perform a click.

[Android.Runtime.Register("performClick", "()V", "", ApiSince=33)]
public void PerformClick();
[<Android.Runtime.Register("performClick", "()V", "", ApiSince=33)>]
member this.PerformClick : unit -> unit
Attributes

Remarks

If RequestTouchExplorationMode is enabled and at least one callback has been added, this function tells the framework to perform a click. The framework will first try to perform ActionClick on the item with accessibility focus. If that fails, the framework will simulate a click using motion events on the last location to have accessibility focus.

Java documentation for android.accessibilityservice.TouchInteractionController.performClick().

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