Android.OS.SystemClock.Sleep Method
Waits a given number of milliseconds (of uptimeMillis) before returning.

Syntax

[Android.Runtime.Register("sleep", "(J)V", "")]
public static void Sleep (long ms)

Parameters

ms
to sleep before returning, in milliseconds of uptime.

Remarks

Waits a given number of milliseconds (of uptimeMillis) before returning. Similar to Java.Lang.Thread.Sleep(long), but does not throw Java.Lang.InterruptedException; Java.Lang.Thread.Interrupt events are deferred until the next interruptible operation. Does not return until at least the specified number of milliseconds has elapsed.

[Android Documentation]

Requirements

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