TireTreadScanView

fun TireTreadScanView(context: AppContext, config: TireTreadScanViewConfig, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)
fun TireTreadScanView(context: AppContext, config: String, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)
fun TireTreadScanView(context: AppContext, config: TireTreadScanViewConfig, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)

Initializes the TireTreadScanView and assigns it to the provided context.

Parameters

context

The application context.

config

The configuration for the TireTreadScanView.

callback

The callback for the TireTreadScanView.

onInitializationFailed

The callback for handling initialization failure.


fun TireTreadScanView(context: AppContext, config: String, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)