Document
An enumeration containing the supported documents
Last updated
An enumeration containing the supported documents
Last updated
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
case KenyaIDCard
Indicates the document is a Kenya ID Card.
case PhilippinesPassport
Indicates the document is a Philippines Passport.
case SouthAfricaGreenBook
Indicates the document is a South Africa Green Book.
case SouthAfricaIDCard
Indicates the document is a South Africa ID Card.
case SouthAfricaPassport
Indicates the document is a South Africa Passport.
case ZimbabwePassport
Indicates the document is a Zimbabwe Passport.
public var country:
Country
{ get }
Example: Country.SouthAfrica
Returns the country of the document.
public var documentType:
DocumentType
{ get }
Example: DocumentType.IDCard
Returns the document type of the document.
Name
Description
Indicates the document is a Kenya ID Card.
Indicates the document is a Philippines Passport.
Indicates the document is a South Africa Green Book.
Indicates the document is a South Africa ID Card.
Indicates the document is a South Africa Passport.
Indicates the document is a Zimbabwe Passport.
Name
Type
Description
Returns the country of the document.
Returns the document type of the document.