StrictMode.VmPolicy


public static final class StrictMode.VmPolicy
extends Object

java.lang.Object
   ↳ android.os.StrictMode.VmPolicy


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

The policy is enabled by StrictMode.setVmPolicy(VmPolicy).

Summary

Nested classes

class StrictMode.VmPolicy.Builder

Creates VmPolicy instances. 

Fields

public static final StrictMode.VmPolicy LAX

The lax policy which doesn't catch anything.

Public methods

String toString()

Returns a string representation of the object.

Inherited methods

Fields

LAX

Added in API level 9
public static final StrictMode.VmPolicy LAX

The lax policy which doesn't catch anything.

Public methods

toString

Added in API level 9
public String toString ()

Returns a string representation of the object.

Returns
String a string representation of the object.