Companion
Functions
Link copied to clipboard
expect fun init(config: TireTreadScanViewConfig, tireWidth: Int? = null, callback: TireTreadScanViewCallback? = null, onInitializationFailed: (Exception) -> Unit? = null)
Initialises the scanner with a config object and the tire width.
expect fun init(config: String, tireWidth: Int? = null, callback: TireTreadScanViewCallback? = null, onInitializationFailed: (Exception) -> Unit? = null)
Initialises the scanner with a JSON config and the tire width.
actual fun init(config: TireTreadScanViewConfig, tireWidth: Int?, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)
Initialize.