DocumentType
An enumeration containing the supported document types
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Cases
Name
Description
The document is a drivers license.
The document is a green book.
The document is an ID card.
The document is a passport.
The document is a firearms license.
The document is an integrated bar ID.
The document is a phil health insurance card.
The document is a postal ID.
The document is a professional regulation commission card.
The document is a seafarer identification document.
The document is a seafarer identification record book.
The document is a social security ID.
The document is a unified multipurpose ID.
The document is a visa
Public variables
Name
Type
Description
String
Returns the case name, separated by spaces, in string format.
Cases
DriversLicense
case DriversLicense
The document is a drivers license.
GreenBook
case GreenBook
The document is a green book.
IDCard
case IDCard
The document is an ID card.
Passport
case Passport
The document is a passport.
FirearmsLicense
case FirearmsLicense
The document is a firearms license.
IntegratedBarID
case IntegratedBarID
The document is an integrated bar ID.
PhilHealthInsuranceCard
case PhilHealthInsuranceCard
The document is a phil health insurance card.
PostalID
case PostalID
The document is a postal ID.
ProfessionalRegulationCommissionCard
case ProfessionalRegulationCommissionCard
The document is a professional regulation commission card.
SeafarerIdentificationDocument
case SeafarerIdentificationDocument
The document is a seafarer identification document.
SeafarerIdentificationRecordBook
case SeafarerIdentificationRecordBook
The document is a seafarer identification record book.
SocialSecurityID
case SocialSecurityID
The document is a social security ID.
UnifiedMultipurposeID
case UnifiedMultipurposeID
The document is a unified multipurpose ID.
Visa
case Visa
The document is a visa.
Public variables
stringValue
public var stringValue: String { get }
Example: "Drivers License"
Returns the case name, separated by spaces, in string format.
Where this is used
Last updated