Package-level declarations

Types

Link copied to clipboard
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.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)
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 = {})