StrictMode.SetVmPolicy(StrictMode+VmPolicy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the policy for what actions in the VM process (on any thread) should be detected, as well as the penalty if such actions occur.
[Android.Runtime.Register("setVmPolicy", "(Landroid/os/StrictMode$VmPolicy;)V", "")]
public static void SetVmPolicy (Android.OS.StrictMode.VmPolicy? policy);
[<Android.Runtime.Register("setVmPolicy", "(Landroid/os/StrictMode$VmPolicy;)V", "")>]
static member SetVmPolicy : Android.OS.StrictMode.VmPolicy -> unit
Parameters
- policy
- StrictMode.VmPolicy
the policy to put into place
- Attributes
Remarks
Java documentation for android.os.StrictMode.setVmPolicy(android.os.VmPolicy)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.