MBTimeoutHandler
@objc
public protocol MBTimeoutHandler : AnyObject
This protocol can be used to define how to handle various events. By default it’s used to capture events to stop/start timeout timer.
See
MBDefaultTimeoutHandler
to understand how this can be used
-
Declaration
Swift
@objc weak var blinkIDUI: MBBlinkIDUI? { get set }
-
Needed to present alert view controller once the timeout it out.
Declaration
Swift
@objc weak var overlayViewController: MBBlinkIdOverlayViewController? { get set }
-
Called everytime scanning is started
Declaration
Swift
@objc func onScanStart()
-
Called once the scanning is done
Declaration
Swift
@objc func onScanDone()
-
Called once the scanning is paused
Declaration
Swift
@objc func onScanPaused()
-
Called once the scanning is resumed
Declaration
Swift
@objc func onScanResumed()