# Print output for @column tags ?>
public
static
interface
StrictMode.OnThreadViolationListener
android.os.StrictMode.OnThreadViolationListener |
When #StrictMode.ThreadPolicy.Builder.penaltyListener(Executor, StrictMode.OnThreadViolationListener)
is enabled, the listener is called on the
provided executor when a Thread violation occurs.
Public methods | |
---|---|
abstract
void
|
onThreadViolation(Violation v)
Called on a thread policy violation. |
public abstract void onThreadViolation (Violation v)
Called on a thread policy violation.
Parameters | |
---|---|
v |
Violation |