public final class Response


Summary

Public methods

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.

final int

Public methods

getMessage

Added in 1.0.0
public final String getMessage()

getRequiredVersion

Added in 1.0.0
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 resultCode or message properties.

getResultCode

Added in 1.0.0
public final int getResultCode()