Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public enum NotificationPlatform : String, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NetworkError : LocalizedError
  • Undocumented

    See more

    Declaration

    Swift

    public enum SecureStorageError : OperationError
  • Undocumented

    See more

    Declaration

    Swift

    public enum KeyManagerError : OperationError
  • Error types returned by the TwilioVerify SDK. It encompasess different types of errors that have their own associated reasons and codes.

    • Error: Log error events that might still allow the application to continue running.
    • Info: Log the progress of the application at coarse-grained level.
    • Networking: Log network requests.
    • Debug: Log fine-grained informational events that are most useful to debug the application.
    • All: Turn on all logging.
    See more

    Declaration

    Swift

    public enum LogLevel
  • Describes the approval status of a Challenge

    See more

    Declaration

    Swift

    public enum ChallengeStatus : String, Codable
  • Describes the order to fetch a ChallengeList

    See more

    Declaration

    Swift

    public enum ChallengeListOrder : String, Codable
  • Describes the verification status of a Factor.

    See more

    Declaration

    Swift

    public enum FactorStatus : String, Codable
  • Describes the types a factor can have.

    See more

    Declaration

    Swift

    public enum FactorType : String, Codable
  • Error types returned by the TwilioVerify SDK. It encompasess different types of errors that have their own associated reasons and codes.

    • NetworkError: An error occurred while calling the API.
    • MapperError: An error occurred while mapping an entity.
    • StorageError: An error occurred while storing/loading an entity.
    • InputError: An error occurred while loading input.
    • KeyStorageError: An error occurred while storing/loading keypairs.
    • InitializationError: An error occurred while initializing a class.
    • AuthenticationTokenError: An error occurred while generating a token.
    See more

    Declaration

    Swift

    public enum TwilioVerifyError : LocalizedError
  • Error types returned as cause for a TwilioVerifyError and InputError code on validation errors.

    • errorDescription: message associated message of the error.
    See more

    Declaration

    Swift

    public enum InputError : Error, LocalizedError