ResponseResultCodes


object ResponseResultCodes


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 Response.requiredVersion.

const Int

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

const Int

Required version described in Response.requiredVersion.

const Int

More specific information in Response.message

const Int

Constants

RESULT_CODE_ALREADY_ENABLED

Added in 1.0.0
const val RESULT_CODE_ALREADY_ENABLED = 2: Int

RESULT_CODE_CANCELLED

Added in 1.0.0
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 PerfettoSdkHandshake compatible receiver.

RESULT_CODE_ERROR_BINARY_MISSING

Added in 1.0.0
const val RESULT_CODE_ERROR_BINARY_MISSING = 11: Int

Required version described in Response.requiredVersion. A follow-up androidx.tracing.perfetto.handshake.PerfettoSdkHandshake.enableTracingImmediate request expected with binaries to sideload specified.

RESULT_CODE_ERROR_BINARY_VERIFICATION_ERROR

Added in 1.0.0
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 Response.message

RESULT_CODE_ERROR_BINARY_VERSION_MISMATCH

Added in 1.0.0
const val RESULT_CODE_ERROR_BINARY_VERSION_MISMATCH = 12: Int

Required version described in Response.requiredVersion.

RESULT_CODE_ERROR_OTHER

Added in 1.0.0
const val RESULT_CODE_ERROR_OTHER = 99: Int

More specific information in Response.message

RESULT_CODE_SUCCESS

Added in 1.0.0
const val RESULT_CODE_SUCCESS = 1: Int