Android Guides | Samples

Java.Lang.Thread.Interrupted Method

Returns a boolean indicating whether the current Thread ( currentThread()) has a pending interrupt request ( true) or not (false).

Syntax

[Android.Runtime.Register("interrupted", "()Z", "")]
public static Boolean Interrupted ()

See Also

Remarks

Returns a boolean indicating whether the current Thread ( currentThread()) has a pending interrupt request ( true) or not (false). It also has the side-effect of clearing the flag.

[Android Documentation]

Requirements

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