Package-level declarations

Types

Link copied to clipboard

Interface for holding a view controller.

Functions

Link copied to clipboard
fun TireTreadScanView(context: AppContext, config: TireTreadScanViewConfig, tireWidth: Int? = null, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)
fun TireTreadScanView(context: AppContext, config: String, tireWidth: Int? = null, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)
fun TireTreadScanView(context: AppContext, config: TireTreadScanViewConfig, callback: TireTreadScanViewCallback?, onInitializationFailed: (Exception) -> Unit?)

Initializes the scan view with a config object and assigns it to the provided context.

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

Initializes the scan view with a JSON config and assigns it to the provided context.

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

Initializes the scan view with a config object and a tire width and assigns it to the provided context.

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

Initializes the scan view with a JSON config and a tire width and assigns it to the provided context.