MBDefaultTimeoutHandler
@objc
open class MBDefaultTimeoutHandler : NSObject, MBTimeoutHandler
MBDefaultTimeoutHandler is used to present the user with an UIAlertController
that notifes them that they can change the Country/Document being scanned.
If timerTimeout number of seconds pass without any successfull results this class will present
a UIAlertController with a message to user to try changing the Country.
-
Declaration
Swift
@objc public weak var blinkIDUI: MBBlinkIDUI? -
Needed to present alert view controller once the timeout it out.
Declaration
Swift
@objc public weak var overlayViewController: MBBlinkIdOverlayViewController? -
Declaration
Swift
@objc public required init(timerTimeout: TimeInterval = 16) -
Called everytime scanning is started
Declaration
Swift
@objc open func onScanStart() -
Called once the scanning is done
Declaration
Swift
@objc open func onScanDone() -
Called once the scanning is paused
Declaration
Swift
@objc open func onScanPaused() -
Called once the scanning is resumed
Declaration
Swift
@objc open func onScanResumed() -
Declaration
Swift
@objc open func onTimeout()
View on GitHub
Install in Dash
MBDefaultTimeoutHandler Class Reference