Protocol
TchekFastTrackDelegate
public protocol TchekFastTrackDelegate
A protocol to implement in order to be notified of events from the FastTrack flow
Usage:
extension ViewController: TchekFastTrackDelegate {
func onReportCreated(tchekScan: TchekScan) {
print("\(self): onFastTrackEnd: tchekScan: \(tchekScan.id)")
}
}
Requirements
onReportCreated(tchekScan:)
func onReportCreated(tchekScan: TchekScan)
Method called when the end of the FastTrack flow is reached
-
Parameters tchekScan: The TchekScan object resulting from the successful FastTrack flow