UiAutomation.InjectInputEvent(InputEvent, Boolean) UiAutomation.InjectInputEvent(InputEvent, Boolean) Method

Definition

A method for injecting an arbitrary input event.

[Android.Runtime.Register("injectInputEvent", "(Landroid/view/InputEvent;Z)Z", "")]
public bool InjectInputEvent (Android.Views.InputEvent e, bool sync);
member this.InjectInputEvent : Android.Views.InputEvent * bool -> bool

Parameters

e
InputEvent InputEvent

The event to inject.

sync
Boolean Boolean

Whether to inject the event synchronously.

Returns

Remarks

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