Skip navigation links
A C D F G I O R S 

A

ANRError - Error in com.github.anrwatchdog
Error thrown by ANRWatchDog when an ANR is detected.
ANRWatchDog - Class in com.github.anrwatchdog
A watchdog timer thread that detects when the UI thread has frozen.
ANRWatchDog() - Constructor for class com.github.anrwatchdog.ANRWatchDog
Constructs a watchdog that checks the ui thread every milliseconds
ANRWatchDog(int) - Constructor for class com.github.anrwatchdog.ANRWatchDog
Constructs a watchdog that checks the ui thread every given interval
ANRWatchDog.ANRInterceptor - Interface in com.github.anrwatchdog
 
ANRWatchDog.ANRListener - Interface in com.github.anrwatchdog
 
ANRWatchDog.InterruptionListener - Interface in com.github.anrwatchdog
 

C

com.github.anrwatchdog - package com.github.anrwatchdog
 

D

duration - Variable in error com.github.anrwatchdog.ANRError
The minimum duration, in ms, for which the main thread has been blocked.

F

fillInStackTrace() - Method in error com.github.anrwatchdog.ANRError
 

G

getTimeoutInterval() - Method in class com.github.anrwatchdog.ANRWatchDog
 

I

intercept(long) - Method in interface com.github.anrwatchdog.ANRWatchDog.ANRInterceptor
Called when main thread has froze more time than defined by the timeout.

O

onAppNotResponding(ANRError) - Method in interface com.github.anrwatchdog.ANRWatchDog.ANRListener
Called when an ANR is detected.
onInterrupted(InterruptedException) - Method in interface com.github.anrwatchdog.ANRWatchDog.InterruptionListener
 

R

run() - Method in class com.github.anrwatchdog.ANRWatchDog
 

S

setANRInterceptor(ANRWatchDog.ANRInterceptor) - Method in class com.github.anrwatchdog.ANRWatchDog
Sets an interface to intercept ANRs before they are reported.
setANRListener(ANRWatchDog.ANRListener) - Method in class com.github.anrwatchdog.ANRWatchDog
Sets an interface for when an ANR is detected.
setIgnoreDebugger(boolean) - Method in class com.github.anrwatchdog.ANRWatchDog
Set whether to ignore the debugger when detecting ANRs.
setInterruptionListener(ANRWatchDog.InterruptionListener) - Method in class com.github.anrwatchdog.ANRWatchDog
Sets an interface for when the watchdog thread is interrupted.
setLogThreadsWithoutStackTrace(boolean) - Method in class com.github.anrwatchdog.ANRWatchDog
Set that all running threads will be reported, even those from which no stack trace could be extracted.
setReportAllThreads() - Method in class com.github.anrwatchdog.ANRWatchDog
Set that all threads will be reported (default behaviour).
setReportMainThreadOnly() - Method in class com.github.anrwatchdog.ANRWatchDog
Set that only the main thread will be reported.
setReportThreadNamePrefix(String) - Method in class com.github.anrwatchdog.ANRWatchDog
Set the prefix that a thread's name must have for the thread to be reported.
A C D F G I O R S 
Skip navigation links