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.
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.
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