Android.App.Instrumentation.SendKeyDownUpSync Method
Sends an up and down key event sync to the currently focused window.

Syntax

[Android.Runtime.Register("sendKeyDownUpSync", "(I)V", "GetSendKeyDownUpSync_IHandler")]
public virtual void SendKeyDownUpSync ([Android.Runtime.GeneratedEnum] Android.Views.Keycode key)

Parameters

key
The integer keycode for the event.

Remarks

Sends an up and down key event sync to the currently focused window.

[Android Documentation]

Requirements

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