TchekSDK Documentation

Protocol Tchek​Report​Delegate

public protocol TchekReportDelegate  

A protocol to implement in order to be notified of events from the Report screen

Usage:

extension ViewController: TchekReportDelegate {
func onReportUpdate(tchekScan: TchekScan) {
print("\(self): onReportUpdate: tchekScan: \(tchekScan.id)")
}
}

Requirements

on​Report​Update(tchek​Scan:​)

func onReportUpdate(tchekScan: TchekScan) 

Method called when the current report is updated

  • Parameters tchekScan: The TchekScan object that was updated