Companion

actual object Companion
expect object Companion
actual object Companion

Actual companion object for the TireTreadScanner class.

Properties

instance
Link copied to clipboard
Link copied to clipboard

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.

actual fun init(config: String, tireWidth: Int?, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)