PerfettoHandshake.EnableTracingResponse

public final class PerfettoHandshake.EnableTracingResponse


Summary

Public methods

final int
final String
final String

This can be null iff we cannot communicate with the broadcast receiver of the target process (e.g. app does not offer Perfetto tracing) or if we cannot parse the response from the receiver.

Public methods

getExitCode

public final int getExitCode()

getMessage

public final String getMessage()

getRequiredVersion

public final String getRequiredVersion()

This can be null iff we cannot communicate with the broadcast receiver of the target process (e.g. app does not offer Perfetto tracing) or if we cannot parse the response from the receiver. In either case, tracing is unlikely to work under these circumstances, and more context on how to proceed can be found in exitCode or message properties.