Enumerations

The following enumerations are available globally.

  • Represents an HTTP response

    Declaration

    Swift

    public enum Response
  • Represents an internal HTTP client error

    Declaration

    Swift

    public enum RequestError : Error
  • HTTP methods we use

    Declaration

    Swift

    public enum HTTPMethod : String
  • HTTP headers we use

    Declaration

    Swift

    public enum HTTPHeader : String
  • The type of error encountered

    Declaration

    Swift

    @objc(FritzErrorCode)
    public enum ErrorCode : Int
  • Logging level for the SDK

    • debug: log all logs
    • info: log info logs or higher
    • warn: log warning logs or higher
    • error: log error logs only
    • none: disable logging
    See more

    Declaration

    Swift

    @objc
    public enum LogLevel : Int
  • Declaration

    Swift

    public enum RetryResult
  • Declaration

    Swift

    @objc
    public enum FritzVisionError : Int, Error
  • Describes the orientation of the image. The orientations match the CGImagePropertyOrientation Enumeration from Apple. Refer to that documentation for clear descriptions of each case.

    See more

    Declaration

    Swift

    @objc
    public enum FritzImageOrientation : Int32
  • Declaration

    Swift

    @objc(FritzVisionCropAndScale)
    public enum FritzVisionCropAndScale : Int