Enumerations

The following enumerations are available globally.

  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum FoundationSecurityError : Error
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum FoundationTransportError : Error
  • Declaration

    Swift

    public enum CloseCode : UInt16
  • Declaration

    Swift

    public enum FrameOpCode : UInt8
  • Declaration

    Swift

    public enum FrameEvent
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum HTTPUpgradeError : Error
  • Declaration

    Swift

    public enum HTTPEvent
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum SecurityErrorCode : UInt16
  • Declaration

    Swift

    public enum PinningState
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum ConnectionEvent
  • Declaration

    Swift

    public enum ServerEvent
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum TCPTransportError : Error
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum StarscreamConnectionState
  • ///////////////////////////////////////////////////////////////////////////////////////////////

    See more

    Declaration

    Swift

    public enum StarscreamErrorType : Error
  • Declaration

    Swift

    public enum WebSocketEvent

JSON Type

JSON Base

  • Declaration

    Swift

    public enum Index<T> : Comparable

Subscript

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

    See more

    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
  • Connection string enums to reference adapters.

    See more

    Declaration

    Swift

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

    See more

    Declaration

    Swift

    public enum BondingMode : String, Codable
  • brief Stream health indicator

    • @since 11.5
    See more

    Declaration

    Swift

    public enum StreamHealth : Int, Codable
  • 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
  • Transport mode enum

    See more

    Declaration

    Swift

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

    See more

    Declaration

    Swift

    public enum SpeedifyErrorType : 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
  • Current Periods enum

    See more

    Declaration

    Swift

    public enum PERIODS : Double
  • Internal speed test type @since 11.5

    See more

    Declaration

    Swift

    public enum SpeedTestType : Int
  • Current disconnect reason

    See more

    Declaration

    Swift

    public enum DisconnectReason : String
  • Log levels in the SDK

    • @since 10.5
    See more

    Declaration

    Swift

    public enum LogLevel : String
  • Settings Lock Reason @since 11.2

    See more

    Declaration

    Swift

    public enum SettingsLockReason : String
  • Declaration

    Swift

    public enum iAPCode : Int, CustomStringConvertible