Enumerations

The following enumerations are available globally.

JSON Type

Subscript

  • To mark both String and Int can be used in subscript.

    Declaration

    Swift

    public enum JSONKey
  • Options to connect allowing Speedify to pick a server based on your AutoConnectMethod.

    See more

    Declaration

    Swift

    public enum AutoConnectMethod : String
  • Bonding Modes control how connections are combined.

    See more

    Declaration

    Swift

    public enum BondingMode : String
  • Connection Priorities define when a connection should be combined or used.

    See more

    Declaration

    Swift

    public enum ConnectionPriority : Int
  • State’s of the VPN.

    See more

    Declaration

    Swift

    @objc
    public enum State : Int, Comparable, Equatable
  • State of Speedify on a given connection (network adapter). Because different connections come and go, it’s possible for Speedify to be in the connected state as long as even one is CONNECTED, while other connections may be CONNECTING or DISCONNECTED.

    See more

    Declaration

    Swift

    public enum ConnectionState : Int
  • Type of possible connections.

    See more

    Declaration

    Swift

    public enum NetworkType : String
  • Type classification for a login or connect error

    See more

    Declaration

    Swift

    public enum ErrorType : Int
  • Protocol for forwarded ports @since 8.2

    See more

    Declaration

    Swift

    public enum PortProtocol : String
  • How firewall treats matches @since 9.2

    See more

    Declaration

    Swift

    public enum FirewallMode : String
  • How local proxy treats matches @since 9.2

    See more

    Declaration

    Swift

    public enum ProxyMatchMode : String
  • Safe Browsing Errors

    • @since 10.6

    Declaration

    Swift

    public enum SafeBrowsingError : Int
  • Log levels in the SDK

    • @since 10.5
    See more

    Declaration

    Swift

    public enum LogLevel : String