TchekSDK Documentation

Protocol Tchek​Shoot​Inspect​Delegate

public protocol TchekShootInspectDelegate  

A protocol to implement in order to be notified of events from the Shoot/Inspect flow

Usage:

extension ViewController: TchekShootInspectDelegate {
func onDetectionEnd(tchekScan: TchekScan, immatriculation: String?) {
print("\(self): onDetectionEnd: tchekScan: \(tchekScan.id)")
}
}

Requirements

on​Detection​InProgress()

func onDetectionInProgress() 

Method called when the detection is in progress

on​Detection​End(tchek​Scan:​immatriculation:​)

func onDetectionEnd(tchekScan: TchekScan, immatriculation: String?) 

Method called when the detection at the end of the Shoot/Inspect flow is done

Parameters

tchek​Scan Tchek​Scan

TchekScan object resulting from the successful Shoot/Inspect flow

immatriculation String?

Immatriculation of the inspected vehicle, null if not give to builder