SBSDKUIDocumentType

@interface SBSDKUIDocumentType : NSObject

The type of the document that should be recognized with SBSDKUIGenericDocumentRecognizerViewController. It is a composition of generic document types.

  • Not available.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Not available.

    Declaration

    Objective-C

    + (nonnull instancetype)new;
  • A compound document type consisting of one or multiple generic document root types.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithGenericTypes:
        (nonnull NSArray<SBSDKGenericDocumentRootType *> *)genericTypes;

    Swift

    init(genericTypes: [SBSDKGenericDocumentRootType])
  • The document type for a German passport. Front side only.

    Declaration

    Objective-C

    + (nonnull SBSDKUIDocumentType *)passportDE;

    Swift

    class func passportDE() -> SBSDKUIDocumentType
  • The document type for a German driver’s license. Front and back side .

    Declaration

    Objective-C

    + (nonnull SBSDKUIDocumentType *)driverLicenseFrontBackDE;

    Swift

    class func driverLicenseFrontBackDE() -> SBSDKUIDocumentType
  • The document type for a German id card. Front and back side.

    Declaration

    Objective-C

    + (nonnull SBSDKUIDocumentType *)idCardFrontBackDE;

    Swift

    class func idCardFrontBackDE() -> SBSDKUIDocumentType
  • The array of generic document types the receiver is composited from.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSArray<SBSDKGenericDocumentRootType *> *_Nonnull genericTypes;

    Swift

    var genericTypes: [SBSDKGenericDocumentRootType] { get }