SybrinIdentity
A base class that is the main entry point for the SDK consumer
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Public variables
Public methods
Public variables
configuration
@objc final public var configuration:
SybrinIdentityConfiguration
?
It is required that you set this variable before attempting to use any of the Sybrin features. Learn how to Get Started
Contains the configuration that you have set.
Public methods
changeLogLevel(to logLevel: LogLevel)
@objc final public func changeLogLevel(to logLevel:
LogLevel
)
Attempts to change the log level to the specified level. Some levels are restricted and can only be set by Sybrin developers.
scanDocument
@objc final public func scanDocument( on viewController: UIViewController, for document:
Document
, doneLaunching: SybrinIdentity.doneLaunchingType? = nil, success: SybrinIdentity.documentSuccessCallbackType? = nil, failure: SybrinIdentity.failureCallbackType? = nil, cancel: SybrinIdentity.cancelCallbackType? = nil )
Opens the Sybrin view controller and starts the scan document feature. Read more at Document.
scanDriversLicense
@objc final public func scanDriversLicense( on viewController: UIViewController, for country:
Country
, doneLaunching: SybrinIdentity.doneLaunchingType? = nil, success: SybrinIdentity.driversLicenseSuccessCallbackType? = nil, failure: SybrinIdentity.failureCallbackType? = nil, cancel: SybrinIdentity.cancelCallbackType? = nil )
Opens the Sybrin view controller and starts the scan drivers license feature. Read more at Drivers License.
scanGreenBook
@objc final public func scanGreenBook( on viewController: UIViewController, doneLaunching: SybrinIdentity.doneLaunchingType? = nil, success: SybrinIdentity.greenBookSuccessCallbackType? = nil, failure: SybrinIdentity.failureCallbackType? = nil, cancel: SybrinIdentity.cancelCallbackType? = nil )
Opens the Sybrin view controller and starts the scan green book feature. Read more at Green Book.
scanIDCard
@objc final public func scanIDCard( on viewController: UIViewController, for country:
Country
, doneLaunching: SybrinIdentity.doneLaunchingType? = nil, success: SybrinIdentity.idCardSuccessCallbackType? = nil, failure: SybrinIdentity.failureCallbackType? = nil, cancel: SybrinIdentity.cancelCallbackType? = nil )
Opens the Sybrin view controller and starts the scan ID card feature. Read more at ID Card.
scanPassport
@objc final public func scanPassport( on viewController: UIViewController, for country:
Country
, doneLaunching: SybrinIdentity.doneLaunchingType? = nil, success: SybrinIdentity.passportSuccessCallbackType? = nil, failure: SybrinIdentity.failureCallbackType? = nil, cancel: SybrinIdentity.cancelCallbackType? = nil )
Opens the Sybrin view controller and starts the scan passport feature. Read more at Passport.
See also
Last updated