ILogcatR Receiver

public interface ILogcatReceiver

com.android.tradefed.device.ILogcatReceiver


فئة توفر إخراج logcat الجهاز كمصدر InputStreamSource .

ملخص

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

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

إرجاع المخزن المؤقت لوجكات الحالي مع إعطاء الإزاحة.

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)

إرجاع المخزن المؤقت لوجكات الحالي مع إعطاء الإزاحة.

حدود
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 ()