SBSDKGenericDocumentRootType

@interface SBSDKGenericDocumentRootType : SBSDKGenericDocumentType

Root document type.

  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Not available

    Declaration

    Objective-C

    + (nonnull instancetype)new;
  • Array of all available document root types

    Declaration

    Objective-C

    + (nonnull NSArray<SBSDKGenericDocumentRootType *> *)allDocumentTypes;

    Swift

    class func allDocumentTypes() -> [SBSDKGenericDocumentRootType]
  • Creates a strongly-typed wrapper of the given document. Returns nil if the document type is not part of this document schema.

    Declaration

    Objective-C

    + (nullable SBSDKGenericDocumentWrapper *)wrap:
        (nonnull SBSDKGenericDocument *)document;

    Swift

    class func wrap(_ document: SBSDKGenericDocument) -> SBSDKGenericDocumentWrapper?
  • Root type for a MRZ part of the document.

    Declaration

    Objective-C

    + (nonnull instancetype)mrz;

    Swift

    class func mrz() -> Self
  • Root type for a German ID card, front side.

    Declaration

    Objective-C

    + (nonnull instancetype)deIdCardFront;

    Swift

    class func deIdCardFront() -> Self
  • Root type for a German ID card, back side.

    Declaration

    Objective-C

    + (nonnull instancetype)deIdCardBack;

    Swift

    class func deIdCardBack() -> Self
  • Root type for a German travel passport (Reisepass).

    Declaration

    Objective-C

    + (nonnull instancetype)dePassport;

    Swift

    class func dePassport() -> Self
  • Root type for a German driver license (Führerschein), front side.

    Declaration

    Objective-C

    + (nonnull instancetype)deDriverLicenseFront;

    Swift

    class func deDriverLicenseFront() -> Self
  • Root type for a German driver license (Führerschein), back side.

    Declaration

    Objective-C

    + (nonnull instancetype)deDriverLicenseBack;

    Swift

    class func deDriverLicenseBack() -> Self
  • Array of all available document front side root types.

    Declaration

    Objective-C

    + (nonnull NSArray<SBSDKGenericDocumentRootType *> *)frontSideDocumentTypes;

    Swift

    class func frontSideDocumentTypes() -> [SBSDKGenericDocumentRootType]
  • Array of all available document back side root types.

    Declaration

    Objective-C

    + (nonnull NSArray<SBSDKGenericDocumentRootType *> *)backSideDocumentTypes;

    Swift

    class func backSideDocumentTypes() -> [SBSDKGenericDocumentRootType]