Added in API level 9
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 |
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[null,null,["Last updated 2024-04-04 UTC."],[],[]]