Implementation Guide
Authentication
Delegate Confirmation
class ViewController: UIViewController, VIDVOCRDelegate {} SDK Events Delegate
class ViewController: VIDVLogsDelegate {
func onOCRLog(log: VIDVOCR.VIDVEvent) {
print("LOG Event 🏳️--------------")
print("LOG key:", log.key ?? "")
print("LOG sessionId:", log.sessionId ?? "")
print("LOG date:", log.date)
print("LOG timestamp:", log.timestamp ?? "")
print("LOG type:", log.type ?? "")
print("LOG screen:", log.screen ?? "")
}
func onOCRLog(log: VIDVOCR.VIDVError) {
print("LOG Error 🚩--------------")
print("LOG code:", log.code ?? 0)
print("LOG message:", log.message)
print("LOG sessionId:", log.sessionId ?? "")
print("LOG date:", log.date)
print("LOG timestamp:", log.timestamp ?? "")
print("LOG type:", log.type ?? "")
print("LOG screen:", log.screen ?? "")
}
}Initialization
Configurations
Required Configurations
Optional Configurations
Configurations Breakdown
Start the SDK
Sample Integration Example
Last updated