The Selfie subclass defines the live face photo from the user’s device. The Selfie object must be submitted with any one of DriverLicense, Passport, or Card objects.

Selfie class

The Selfie class looks like this:

open class Selfie {

    public var cardId: String
    public func setSelfie(_ value: UIImage)
    public func getSelfie() -> UIImage

Methods

Method Result type Description
setSelfie UIImage object Sets the UIImage passed as the value of the selfie property.
getSelfie UIImage object Gets the value of the selfie property (a UIImage object).

Data model

Property Type Description
selfie UIImage The live face photo taken using the user’s device.