Android Guides | Samples

Android.OS.StrictMode.VmPolicy Class

StrictMode policy applied to all threads in the virtual machine's process.

See Also: StrictMode+VmPolicy

Syntax

[Android.Runtime.Register("android/os/StrictMode$VmPolicy", DoNotGenerateAcw=true)]
public sealed class StrictMode.VmPolicy : Object

Remarks

StrictMode policy applied to all threads in the virtual machine's process.

The policy is enabled by StrictMode.SetVmPolicy(StrictMode+VmPolicy).

[Android Documentation]

Requirements

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

The members of Android.OS.StrictMode.VmPolicy are listed below.

See Also: Object

Public Properties

[read-only]
static
LaxStrictMode+VmPolicy. The default, lax policy which doesn't catch anything.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.