ILogcatReceiver

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver
LogcatReceiver Classe que coleta o logcat em segundo plano. 


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

Resumo

Métodos públicos

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

Retorna o buffer do Logcat atual conforme um deslocamento.

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

Métodos públicos

limpar

public abstract void clear ()

getLogcatData.

public InputStreamSource getLogcatData (int maxBytes, 
                int offset)

Retorna o buffer do Logcat atual conforme um deslocamento.

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

offset int: o deslocamento do buffer completo.

Retorna
InputStreamSource O buffer do logcat começando no deslocamento.

getLogcatData.

public abstract InputStreamSource getLogcatData (int maxBytes)

Parâmetros
maxBytes int

getLogcatData.

public abstract InputStreamSource getLogcatData ()

start

public abstract void start ()

parar

public abstract void stop ()