ALDrivingLicenseIdentification Class Reference

Inherits from NSObject
Declared in ALDrivingLicenseIdentification.h

  documentNumber

@property (nonnull, nonatomic, strong, readonly) NSString *documentNumber

  surNames

@property (nonnull, nonatomic, strong, readonly) NSString *surNames

  givenNames

@property (nonnull, nonatomic, strong, readonly) NSString *givenNames

  dayOfBirth

@property (nonnull, nonatomic, strong, readonly) NSString *dayOfBirth

  placeOfBirth

@property (nonnull, nonatomic, strong, readonly) NSString *placeOfBirth

  issuingDate

@property (nonnull, nonatomic, strong, readonly) NSString *issuingDate

  expirationDate

@property (nonnull, nonatomic, strong, readonly) NSString *expirationDate

  authority

@property (nonnull, nonatomic, strong, readonly) NSString *authority

  categories

@property (nonnull, nonatomic, strong, readonly) NSString *categories

  dayOfBirthDateObject

@property (nullable, nonatomic, strong, readonly) NSDate *dayOfBirthDateObject

  issuingDateObject

@property (nullable, nonatomic, strong, readonly) NSDate *issuingDateObject

  expirationDateObject

@property (nullable, nonatomic, strong, readonly) NSDate *expirationDateObject

  drivingLicenseString

@property (nonnull, nonatomic, strong, readonly) NSString *drivingLicenseString

  faceImage

@property (nullable, nonatomic, strong) UIImage *faceImage

– initWithDocumentNumber:surNames:givenNames:dayOfBirth:placeOfBirth:issuingDate:expirationDate:authority:categories:drivingLicenseString:

Initializes a ALIdentification object. This object is used to carry the scanned values.

- (instancetype _Nullable)initWithDocumentNumber:(NSString *_Nonnull)documentNumber surNames:(NSString *_Nonnull)surNames givenNames:(NSString *_Nonnull)givenNames dayOfBirth:(NSString *_Nonnull)dayOfBirth placeOfBirth:(NSString *_Nonnull)placeOfBirth issuingDate:(NSString *_Nonnull)issuingDate expirationDate:(NSString *_Nonnull)expirationDate authority:(NSString *_Nonnull)authority categories:(NSString *_Nonnull)categories drivingLicenseString:(NSString *_Nonnull)drivingLicenseString

Parameters

documentNumber

The number of the document that was read.

surNames

All the surNames of the person separated by whitespace.

givenNames

All the given names of the person separated by whitespace.

dayOfBirth

The day of birth.

placeOfBirth

The place of birth.

issuingDate

The issuing date of the driving license.

expirationDate

The expiration date of the driving license.

authority

The driving license authority(s)

categories

The detected vehicle categories.

drivingLicenseString

Contains all Information found on the drivingLicense as string. Fields will be seperated with the delimiter ‘|’.

Return Value

A new ALDrivingLicenseIdentification object

Declared In

ALDrivingLicenseIdentification.h