Added in API level 9

VmPolicy

class VmPolicy
kotlin.Any
   ↳ android.os.StrictMode.VmPolicy

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

The policy is enabled by setVmPolicy.

Summary

Nested classes

Creates VmPolicy instances.

Public methods
String

Properties
static StrictMode.VmPolicy!

The lax policy which doesn't catch anything.

Public methods

toString

Added in API level 9
fun toString(): String
Return
String a string representation of the object.

Properties

LAX

Added in API level 9
static val LAX: StrictMode.VmPolicy!

The lax policy which doesn't catch anything.