PerfettoHandshake.ResponseExitCodes


object PerfettoHandshake.ResponseExitCodes


Summary

Constants

const Int
const Int

Indicates that the broadcast resulted in result=0, which is an equivalent of android.app.Activity.RESULT_CANCELED.

const Int

Required version described in EnableTracingResponse.requiredVersion.

const Int

Could be a result of a stale version of the binary cached locally.

const Int

Required version described in EnableTracingResponse.requiredVersion.

const Int

More specific information in EnableTracingResponse.message

const Int

Constants

RESULT_CODE_ALREADY_ENABLED

const val RESULT_CODE_ALREADY_ENABLED = 2: Int

RESULT_CODE_CANCELLED

const val RESULT_CODE_CANCELLED = 0: Int

Indicates that the broadcast resulted in result=0, which is an equivalent of android.app.Activity.RESULT_CANCELED.

This most likely means that the app does not expose a PerfettoHandshake compatible receiver.

RESULT_CODE_ERROR_BINARY_MISSING

const val RESULT_CODE_ERROR_BINARY_MISSING = 11: Int

Required version described in EnableTracingResponse.requiredVersion. A follow-up enableTracing request expected with ExternalLibraryProvider specified.

RESULT_CODE_ERROR_BINARY_VERIFICATION_ERROR

const val RESULT_CODE_ERROR_BINARY_VERIFICATION_ERROR = 13: Int

Could be a result of a stale version of the binary cached locally. Retrying with a freshly downloaded library likely to fix the issue. More specific information in EnableTracingResponse.message

RESULT_CODE_ERROR_BINARY_VERSION_MISMATCH

const val RESULT_CODE_ERROR_BINARY_VERSION_MISMATCH = 12: Int

Required version described in EnableTracingResponse.requiredVersion.

RESULT_CODE_ERROR_OTHER

const val RESULT_CODE_ERROR_OTHER = 99: Int

More specific information in EnableTracingResponse.message

RESULT_CODE_SUCCESS

const val RESULT_CODE_SUCCESS = 1: Int