Protocols

The following protocols are available globally.

  • Protocol used to define the localizable values of various models present through the framework.

    See more

    Declaration

    Swift

    public protocol MBLocalizable
  • BlinkIDUI delegate protocol Implement this protocol to be able to recieve the events from the MBBlinkIDUI instance

    See more

    Declaration

    Swift

    @objc
    public protocol MBBlinkDelegate : AnyObject
  • Protocol used to describe a country filter used in country selection view controller. Use it to filter countries you want to show your users.

    See more

    Declaration

    Swift

    @objc
    public protocol MBCountryFilter : AnyObject
  • Protocol used for setting up Document chooser settings These settings setup the following:

    • country table view controller for picking the country
    • document tabs used to pick the document
    • country button used by default to open country table view controller
    • filtering both countries through countryFilter and document types through MBDocumentChooserSettings.isDocument(...)
    See more

    Declaration

    Swift

    @objc
    public protocol MBDocumentChooserSettings : AnyObject
  • Used for two sided documents that can be validated by matching front and back side data

    See more

    Declaration

    Swift

    @objc
    public protocol MBInvalidDocumentHandler : 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
    See more

    Declaration

    Swift

    @objc
    public protocol MBTimeoutHandler : AnyObject