ConnectionPriority

enum ConnectionPriority : Int

Connection Priorities define when a connection should be combined or used.

  • Speedify will always try to use this network when it is available. Recommended for Internet connections that do not have data caps on them.

    Declaration

    Swift

    case always = 0
  • Speedify will try not to use this network, but will use it when the ALWAYS connections are being heavily used or slowing down. This setting is good for connections that have reasonable data caps, as they will be used much less often than the ALWAYS connections.

    Declaration

    Swift

    case secondary = 1
  • Speedify will not use this network, unless all the ALWAYS and SECONDARY networks are not available. This setting is good for very expensive connections, which should only be used in emergencies.

    Declaration

    Swift

    case backup = 2
  • Used while running a speed test. Can not be set via setConnectionPriorities

    Declaration

    Swift

    case speedtest = 99
  • Speedify will never use this connection.

    Declaration

    Swift

    case never = 100
  • An array of all possible priority values.

    Declaration

    Swift

    static let allValues: [ConnectionPriority]
  • A ConnectionPriority enum returned as a string.

    Declaration

    Swift

    var description: String { get }