StrictMode.OnVmViolationListener

public static interface StrictMode.OnVmViolationListener

android.os.StrictMode.OnVmViolationListener


When #penaltyListener(Executor, StrictMode.OnVmViolationListener) is enabled, the listener is called on the provided executor when a VM violation occurs.

Summary

Public methods

abstract void onVmViolation(Violation v)

Called on a VM policy violation.

Public methods

onVmViolation

void onVmViolation (Violation v)

Called on a VM policy violation.

Parameters
v Violation