TswScanResult

sealed class TswScanResult

Outcome of a sidewall scan, delivered exactly once to the onResult callback of AnylineTireSidewallScanner.scan.

Inheritors

Types

Link copied to clipboard

The user dismissed the scanner before a capture was taken.

Link copied to clipboard
class Completed(val resultJson: String, val imageBytes: ByteArray, val scanMetadata: TswScanMetadata) : TswScanResult

Capture and upload both succeeded.

Link copied to clipboard
class Failed(val error: SdkError) : TswScanResult

The scan could not be completed.