IDnowDocIDVEventListener
Protocol to receive lifecycle events from the IDnow DocIDV SDK. Assign a conforming object to IDnowDocIDV.eventListener.
public protocol IDnowDocIDVEventListener: AnyObject
Methods
didFinishedLoading()
Called immediately after the SDK has finished loading.
func didFinishedLoading()
Example
class MyViewController: UIViewController, IDnowDocIDVEventListener {
override func viewDidLoad() {
super.viewDidLoad()
IDnowDocIDV.shared.eventListener = self
}
func didFinishedLoading() {
print("SDK is ready")
}
}