DownloadDeviceKeysMetricsPlugin

interface DownloadDeviceKeysMetricsPlugin : MetricPlugin

Extension of MetricPlugin for download_device_keys task.

Functions

Link copied to clipboard
abstract fun finishTransaction()

Mark the measuring transaction finished once the task is completed.

Link copied to clipboard
open override fun logTransaction(message: String?)

Can be used to log this transaction.

Link copied to clipboard
abstract fun onError(throwable: Throwable)

Invoked when there is any error in the ongoing task. The metrics tool can use this information to attach to the ongoing transaction.

Link copied to clipboard
abstract fun startTransaction()

Start the measurement of the metrics as soon as task is started.