Android Guides | Samples

Java.Lang.Class.DesiredAssertionStatus Method

Returns the assertion status for the class represented by this Class.

Syntax

[Android.Runtime.Register("desiredAssertionStatus", "()Z", "")]
public Boolean DesiredAssertionStatus ()

Remarks

Returns the assertion status for the class represented by this Class. Assertion is enabled / disabled based on the class loader, package or class default at runtime.

[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