ILogcatReceiver

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver


فئة توفر مخرجات logcat للجهاز باعتبارها InputStreamSource .

ملخص

الأساليب العامة

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

إرجاع المخزن المؤقت logcat الحالي بإزاحة.

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

الأساليب العامة

واضح

public abstract void clear ()

getLogcatData

public InputStreamSource getLogcatData (int maxBytes, 
                int offset)

إرجاع المخزن المؤقت logcat الحالي بإزاحة.

حدود
maxBytes int : الحد الأقصى لحجم المخزن المؤقت الذي تم إرجاعه

offset int : إزاحة المخزن المؤقت الكامل.

عائدات
InputStreamSource يبدأ المخزن المؤقت logcat عند الإزاحة.

getLogcatData

public abstract InputStreamSource getLogcatData (int maxBytes)

حدود
maxBytes int

عائدات
InputStreamSource

getLogcatData

public abstract InputStreamSource getLogcatData ()

عائدات
InputStreamSource

يبدأ

public abstract void start ()

قف

public abstract void stop ()