Stay organized with collections
Save and categorize content based on your preferences.
ILogcatReceiver
public
interface
ILogcatReceiver
com.android.tradefed.device.ILogcatReceiver
|
Known indirect subclasses
|
A class that provides the output of a device's logcat as an InputStreamSource
.
Summary
Public methods |
abstract
void
|
clear()
|
default
InputStreamSource
|
getLogcatData(int maxBytes, int offset)
Returns the current logcat buffer given an offset.
|
abstract
InputStreamSource
|
getLogcatData(int maxBytes)
|
abstract
InputStreamSource
|
getLogcatData()
|
abstract
void
|
start()
|
abstract
void
|
stop()
|
Public methods
clear
public abstract void clear ()
getLogcatData
public InputStreamSource getLogcatData (int maxBytes,
int offset)
Returns the current logcat buffer given an offset.
Parameters |
maxBytes |
int : The max size of the returned buffer |
offset |
int : The offset of the full buffer. |
Returns |
InputStreamSource |
The logcat buffer starting at the offset.
|
getLogcatData
public abstract InputStreamSource getLogcatData (int maxBytes)
Returns |
InputStreamSource |
|
getLogcatData
public abstract InputStreamSource getLogcatData ()
Returns |
InputStreamSource |
|
start
public abstract void start ()
stop
public abstract void stop ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-03 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2022-08-03 UTC."}