AnylineTireTreadSdk

Properties

Link copied to clipboard

Check the SDK is initialized.

Link copied to clipboard
const val sdkVersion: String

The SDK Version.

Functions

Link copied to clipboard
fun AnylineTireTreadSdk.abortScan(measurementUuid: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.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
fun AnylineTireTreadSdk.getTreadDepthReportPdf(measurementUuid: String, onResponse: (Response<ByteArray>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.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
fun AnylineTireTreadSdk.getTreadDepthReportUrlString(measurementUuid: String, onResponse: (Response<String>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.init(licenseKey: String, context: Context, customTag: String? = null)

Initializes the AnylineTireTreadSdk with a license key, an Android context, and an optional custom tag.

Initializes the AnylineTireTreadSdk with a license key.

fun AnylineTireTreadSdk.init(licenseKey: String, customTag: String? = null)

Initializes the AnylineTireTreadSdk with a license key and an optional custom tag.

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
fun AnylineTireTreadSdk.sendTireIdFeedback(measurementUuid: String, tireId: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.sendTreadDepthResultFeedback(resultUuid: String, treadResultRegions: List<TreadResultRegion>, onResponse: (Response<MeasurementInfo>) -> Unit = {})