FragmentStrictMode.OnViolationListener

interface FragmentStrictMode.OnViolationListener


When Policy.Builder.penaltyListener is enabled, the listener is called when a violation occurs.

Summary

Public methods

abstract void

Called on a policy violation.

Public methods

onViolation

abstract void onViolation(Violation violation)

Called on a policy violation.