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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2024-04-04 UTC.",
"confidential": False
}