Properties
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
fun AnylineTireTreadSdk.Companion.getTreadDepthReportPdf(measurementUuid: String, onResponse: (Response<ByteArray>) -> Unit = {})
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
fun AnylineTireTreadSdk.Companion.getTreadDepthReportUrlString(measurementUuid: String, onResponse: (Response<String>) -> Unit = {})
Link copied to clipboard
Initialize the SDK.
Link copied to clipboard
Link copied to clipboard
fun AnylineTireTreadSdk.Companion.sendCommentFeedback(uuid: String, comment: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
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.Companion.sendSessionTimestamps(measurementUuid: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.Companion.sendTireIdFeedback(measurementUuid: String, tireId: String, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.Companion.sendTireWidthResultFeedback(resultUuid: String, tireWidth: Int, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard
fun AnylineTireTreadSdk.Companion.sendTreadDepthResultFeedback(resultUuid: String, treadResultRegions: List<TreadResultRegion>, onResponse: (Response<MeasurementInfo>) -> Unit = {})
Link copied to clipboard