FragmentStrictMode.OnViolationListener


public fun 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

Added in 1.4.0
abstract void onViolation(@NonNull Violation violation)

Called on a policy violation.