ILogcatReceiver

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver


Uma classe que fornece a saída do logcat de um dispositivo como um InputStreamSource .

Resumo

Métodos públicos

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

Retorna o buffer logcat atual dado um deslocamento.

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

Métodos públicos

claro

public abstract void clear ()

getLogcatData

public InputStreamSource getLogcatData (int maxBytes, 
                int offset)

Retorna o buffer logcat atual dado um deslocamento.

Parâmetros
maxBytes int : O tamanho máximo do buffer retornado

offset int : O deslocamento do buffer cheio.

devoluções
InputStreamSource O buffer logcat começando no deslocamento.

getLogcatData

public abstract InputStreamSource getLogcatData (int maxBytes)

Parâmetros
maxBytes int

devoluções
InputStreamSource

getLogcatData

public abstract InputStreamSource getLogcatData ()

devoluções
InputStreamSource

começar

public abstract void start ()

parar

public abstract void stop ()