Companion
Functions
Link copied to clipboard
expect fun init(config: TireTreadConfig, onScanAborted: (String?) -> Unit, onScanProcessCompleted: (String) -> Unit, callback: (ScanEvent) -> Unit? = null, onError: (String?, Exception) -> Unit)
Initialises the scanner with a config object and the tire width.
expect fun init(config: String, onScanAborted: (String?) -> Unit, onScanProcessCompleted: (String) -> Unit, callback: (ScanEvent) -> Unit? = null, onError: (String?, Exception) -> Unit)
Initialises the scanner with a JSON config and the tire width.