Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

API marked with this annotation is internal, and it is not intended to be used outside of Anyline. It may be removed or changed without notice.

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.

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)

Initializes the AnylineTireTreadSdk with a license key, and an Android context

fun AnylineTireTreadSdk.init(licenseKey: String, context: Context, customTag: String? = null, wrapperInfo: WrapperInfo? = null)

Initializes the AnylineTireTreadSdk

Initializes the AnylineTireTreadSdk with a license key.

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

Initializes the AnylineTireTreadSdk

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 = {})