getTreadDepthReportResult

fun AnylineTireTreadSdk.Companion.getTreadDepthReportResult(measurementUuid: String, timeoutSeconds: Int = 60, onResponse: (Response<TreadDepthResult>) -> Unit = {})

Request results for the specified Measurement. This function is blocking and should only be call on a background thread.

Parameters

measurementUuid

: UUID of the required Measurement.

onGetTreadDepthReportResultSucceeded

: callback invoked when a result is found

onGetTreadDepthReportResultFailed

: callback invoked when a result is not found

timeoutSeconds

: Timeout for the function. Defaults to 60 seconds.