Package-level declarations

Functions

Link copied to clipboard
fun TireTreadScanView(config: TireTreadConfig = TireTreadConfig(), onScanAborted: (String?) -> Unit, onScanProcessCompleted: (String) -> Unit, callback: (ScanEvent) -> Unit?, onError: (String?, Exception) -> Unit)

Initializes the scan view with the configuration that was provided with config.

fun TireTreadScanView(config: String, onScanAborted: (String?) -> Unit, onScanProcessCompleted: (String) -> Unit, callback: (ScanEvent) -> Unit?, onError: (String?, Exception) -> Unit)

Initializes the scan view with the configuration in form of a JSON string that was provided with config.