getHeatmap
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.
Parameters
measurementUuid
: UUID of the required Measurement.
onSuccess
: callback invoked when the heatmap is available
onFailure
: callback invoked when the heatmap is not available
timeoutSeconds
: Timeout for the function. Defaults to 60 seconds.