Ricevitore ILogcat

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver
Ricevitore log Classe che raccoglie logcat in background. 


Una classe che fornisce l'output del logcat di un dispositivo come InputStreamSource.

Riepilogo

Metodi pubblici

abstract void clear()
default InputStreamSource getLogcatData(int maxBytes, int offset)

Restituisce il buffer logcat corrente in base a un offset.

abstract InputStreamSource getLogcatData(int maxBytes)
abstract InputStreamSource getLogcatData()
abstract void start()
abstract void stop()

Metodi pubblici

cancella

public abstract void clear ()

getLogcatData

public InputStreamSource getLogcatData (int maxBytes, 
                int offset)

Restituisce il buffer logcat corrente in base a un offset.

Parametri
maxBytes int: la dimensione massima del buffer restituito

offset int: l'offset del buffer completo.

Ritorni
InputStreamSource Il buffer logcat che inizia dall'offset.

getLogcatData

public abstract InputStreamSource getLogcatData (int maxBytes)

Parametri
maxBytes int

getLogcatData

public abstract InputStreamSource getLogcatData ()

partenza

public abstract void start ()

Scalo

public abstract void stop ()