Android.App.Instrumentation.SetInTouchMode Method
Force the global system in or out of touch mode.

Syntax

[Android.Runtime.Register("setInTouchMode", "(Z)V", "GetSetInTouchMode_ZHandler")]
public virtual void SetInTouchMode (bool inTouch)

Parameters

inTouch
Set to true to be in touch mode, false to be in focus mode.

Remarks

Force the global system in or out of touch mode. This can be used if your instrumentation relies on the UI being in one more or the other when it starts.

[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