DSCapture
@objc
public class DSCapture : NSObject
Works with visual assests of a device to scan identification documents and extract identification document data
For information on how to scan a document please see the DSCapture class
-
The version of the SDK
Declaration
Swift
@objc public class var sdkVersion: String { get }
-
The SDK build number. In most cases this will be 1. This propery should not be relied on for anything more than reporting purposes as it will not have a natrual progression like the version number.
Declaration
Swift
@objc public class var buildNumber: String { get }
-
Allows bypassing Apple’s default local settings from the device. Discussion : By default the Scan Handler uses the localization settings from the device (per Apple’s suggested guidelines). By setting this value the SDK will use the given local instead of using the device settings.
Declaration
Swift
@objc public static var localeOverride: String? { get set }
-
Sets the SDK license key globally. * Deprecated * Please use setLicense
Declaration
Swift
@available(*, deprecated, message: "Please use setLicense") @objc public class func setLicenseKey(key: String)
-
Sets the SDK license key globally
Declaration
Swift
@discardableResult @objc public class func setLicense(key: String) -> Bool
-
Returns the expiration date of the set license key
Declaration
Swift
@objc public class func licenseExpirationDate() -> String?