public class Logcat
extends java.lang.Thread
implements java.lang.Cloneable
| Constructor and Description |
|---|
Logcat() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
com.github.pedrovgs.lynx.model.Logcat.Listener |
getListener()
Obtains the current Logcat listener.
|
void |
run()
Starts reading traces from the application logcat and notifying listeners if needed.
|
void |
setListener(com.github.pedrovgs.lynx.model.Logcat.Listener listener)
Configures a listener to be notified with new traces read from the application logcat.
|
void |
stopReading()
Stops reading from the application logcat and notifying listeners.
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void setListener(com.github.pedrovgs.lynx.model.Logcat.Listener listener)
listener - the Logcat listenerpublic com.github.pedrovgs.lynx.model.Logcat.Listener getListener()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void stopReading()
public java.lang.Object clone()
clone in class java.lang.Thread