ILogcatReceptor
 public interface ILogcatReceiver
  
  
  
| com.android.tradefed.device.ILogcatReceiver | 
 Uma classe que fornece a saída do logcat de um dispositivo como InputStreamSource .
Resumo
Métodos públicos | |
|---|---|
 abstract void |  clear () | 
 default InputStreamSource |  getLogcatData (int maxBytes, int offset)Retorna o buffer logcat atual com 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 com um deslocamento.
| Parâmetros | |
|---|---|
 maxBytes |  int : O tamanho máximo do buffer retornado | 
 offset |  int : O deslocamento do buffer completo. | 
| Devoluções | |
|---|---|
 InputStreamSource | O buffer do logcat começando no deslocamento. | 
getLogcatData
public abstract InputStreamSource getLogcatData (int maxBytes)
| Parâmetros | |
|---|---|
 maxBytes |  int | 
| Devoluções | |
|---|---|
 InputStreamSource |  |
começar
public abstract void start ()
parar
public abstract void stop ()