FragmentStrictMode.OnViolationListener


fun interface FragmentStrictMode.OnViolationListener


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

Summary

Public functions

Unit
onViolation(violation: Violation)

Called on a policy violation.

Public functions

onViolation

Added in 1.4.0
fun onViolation(violation: Violation): Unit

Called on a policy violation.