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

@NonNull
public abstract void onViolation(@NonNull Violation violation)

Called on a policy violation.