Package-level declarations

Types

Link copied to clipboard
actual class AnylineTireTreadSdk
expect class AnylineTireTreadSdk
actual class AnylineTireTreadSdk
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class Response<T : Any>

Represents the response from a network request done by the SDK.

Link copied to clipboard

Functions

Link copied to clipboard
fun AnylineTireTreadSdk.Companion.abortScan(measurementUuid: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.Companion.getHeatmap(measurementUuid: String, timeoutSeconds: Int = 60, onResponse: (Response<Heatmap>) -> Unit = {})

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

Link copied to clipboard
Link copied to clipboard
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.

Link copied to clipboard
Link copied to clipboard

Sends a request with given UUID and comment and returns the result via the callback. When the operation is successful, the callback returns a Response.Success containing a MeasurementInfo. If the operation fails, the callback instead returns a Response.Error.

Link copied to clipboard
Link copied to clipboard
fun AnylineTireTreadSdk.Companion.sendTireIdFeedback(measurementUuid: String, tireId: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard