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.
Syntax
[Android.Runtime.Register("setVmPolicy", "(Landroid/os/StrictMode$VmPolicy;)V", "")]
public static
void SetVmPolicy (
StrictMode.VmPolicy policy)
Parameters
- policy
- the policy to put into place
Remarks
Requirements
Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9