Android.App.Instrumentation.OnStart Method
Method where the instrumentation thread enters execution.

Syntax

[Android.Runtime.Register("onStart", "()V", "GetOnStartHandler")]
public virtual void OnStart ()

Remarks

Method where the instrumentation thread enters execution. This allows you to run your instrumentation code in a separate thread than the application, so that it can perform blocking operation such as Instrumentation.SendKeySync(Android.Views.KeyEvent) or Instrumentation.StartActivitySync(Android.Content.Intent).

You will typically want to call finish() when this function is done, to end your instrumentation.

[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