Companion

actual object Companion
expect object Companion
actual object Companion

Properties

Link copied to clipboard

Check the SDK is initialized.

Check if the SDK is initialized.

Link copied to clipboard
actual val sdkVersion: String
expect val sdkVersion: String

The SDK Version.

actual val sdkVersion: String

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
expect fun init(licenseKey: String, context: AppContext)

Initialize the SDK.

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