Enumerations

The following enumerations are available globally.

  • A union type of various data a given step can collect during the inquiry flow

    See more

    Declaration

    Swift

    public enum InquiryStepData : Codable
  • Defines the supported environments

    See more

    Declaration

    Swift

    public enum Environment : String, StringConstructable
  • Client side InquiryConfiguration errors

    See more

    Declaration

    Swift

    public enum InquiryConfigurationError : Error
    extension InquiryConfigurationError: LocalizedError
  • The types of values that can be accepted as additional inquiry fields.

    See more

    Declaration

    Swift

    public enum InquiryField
    extension InquiryField: Equatable

Public Type Definitions

  • Undocumented

    See more

    Declaration

    Swift

    public enum ThemeSource
  • This enum is used internally within the Persona SDK in order to facilitate communicate with the optional Nfc module. Do not use this enum in your own code.

    See more

    Declaration

    Swift

    public enum PassportNfcError : Error
  • Errors that can occur clientside during the inquiry flow which result in the inquiryError callback

    See more

    Declaration

    Swift

    public enum PersonaError : Error, CustomDebugStringConvertible
    extension PersonaError: LocalizedError
  • Undocumented

    See more

    Declaration

    Swift

    public enum JsonForJsonLogic : Equatable
    extension JsonForJsonLogic: Comparable
    extension JsonForJsonLogic: Hashable
    extension JsonForJsonLogic: ExpressibleByIntegerLiteral, ExpressibleByArrayLiteral, ExpressibleByBooleanLiteral,
            ExpressibleByNilLiteral, ExpressibleByStringLiteral, ExpressibleByDictionaryLiteral,
            ExpressibleByFloatLiteral
  • Errors that can be thrown from JsonLogic methods

    See more

    Declaration

    Swift

    public enum JSONLogicError : Error, Equatable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ParseError : Error, Equatable