Type Definitions

The following type definitions are available globally.

  • Undocumented

    Declaration

    Objective-C

    typedef NSArray<NSNumber *> MBIDateFormatArray
  • Undocumented

    Declaration

    Objective-C

    typedef NSArray<NSString *> MBIDateSeparatorCharsArray
  • Struct which defines a range on the image

    See more

    Declaration

    Objective-C

    typedef struct MBIRange MBIRange
  • Struct which defines a scale which detector searches on the image

    See more

    Declaration

    Objective-C

    typedef struct MBIScale MBIScale
  • Undocumented

    Declaration

    Objective-C

    typedef NSString * MBIExceptionName

    Swift

    typealias MBIExceptionName = UnsafeMutablePointer<Int32>
  • Undocumented

    Declaration

    Objective-C

    typedef CGPoint CGDelta

    Swift

    typealias CGDelta = CGPoint
  • Undocumented

    See more

    Declaration

    Objective-C

    typedef struct {
        CGPoint point1;
        CGPoint point2;
    } CGLine
  • Struct which describes image extension factors. Each factors denotes by what percentage is image extended. For example, value of top = 0.3f means that top side of the image is extended by 30% of cards height, while value of right = 1.3f means that the right side of the image is extended by 120% of the cards width.

    See more

    Declaration

  • Undocumented

    Declaration

    Objective-C

    typedef void(^MBILicenseErrorBlock)(MBILicenseError licenseError)

    Swift

    typealias MBILicenseErrorBlock = (MBILicenseError) -> Void
  • Undocumented

    Declaration

    Objective-C

    typedef void(^MBBlock)(void)

    Swift

    typealias MBBlock = () -> Void
  • Block for returning high resolution MBIImage photo with capture or still output

    Declaration

    Objective-C

    typedef void (^MBICaptureHighResImage)(MBIImage *_Nullable)

    Swift

    typealias MBICaptureHighResImage = (MBIImage?) -> Void