MBMrtdSpecification
Objective-C
@interface MBMrtdSpecification : NSObject <NSCopying>
Swift
class MBMrtdSpecification : NSObject, NSCopying
Mrtd class describes a document which is being detected by MrtdDetector. We encurage users to create specifications with one of our presets, if possible.
-
Factory method which creates MRTD specification based on a preset
Declaration
Objective-C
+ (nonnull instancetype)createFromPreset:(MBMrtdSpecificationPreset)preset;
Swift
class func create(from preset: MBMrtdSpecificationPreset) -> Self
Parameters
preset
mrtd preset
Return Value
new instance for a given mrtd preset