Android.App.UiAutomation.InjectInputEvent Method
A method for injecting an arbitrary input event.

Syntax

[Android.Runtime.Register("injectInputEvent", "(Landroid/view/InputEvent;Z)Z", "")]
public bool InjectInputEvent (Android.Views.InputEvent e, bool sync)

Parameters

e
The event to inject.
sync
Whether to inject the event synchronously.

Returns

Documentation for this section has not yet been entered.

Remarks

A method for injecting an arbitrary input event.

Note: It is caller's responsibility to recycle the event.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18