SpeedTestResultsData

public struct SpeedTestResultsData

Current Speed test results data

  • \brief time of the test, in seconds since epoch

    • @since 11.0

    Declaration

    Swift

    public var testTime: Date
  • \brief 2-character ISO country code, ie: ‘us’.

    • @since 11.0

    Declaration

    Swift

    public var country: String
  • \brief City code, ie: ‘atlanta’

    • @since 11.0

    Declaration

    Swift

    public var city: String
  • \brief How many connections were used during this test.

    • @since 11.0

    Declaration

    Swift

    public var numConnections: Int
  • \brief tested download speed, bits per second

    • @since 11.0

    Declaration

    Swift

    public var downloadSpeed: Double
  • \brief tested upload speed, bits per second

    • @since 11.0

    Declaration

    Swift

    public var uploadSpeed: Double
  • \brief is this test errored

    • @since 11.0

    Declaration

    Swift

    public var isError: Bool
  • \brief error message for this test

    • @since 11.0

    Declaration

    Swift

    public var errorMessage: String
  • \brief type of test

    • @since 11.5

    Declaration

    Swift

    public var testType: SpeedTestType
  • \brief supported streaming resolution, only valid for streaming tests

    • @since 11.5

    Declaration

    Swift

    public var resolution: String?
  • fps

    \brief supported streaming frames per second (fps), only valid for streaming tests

    • @since 11.5

    Declaration

    Swift

    public var fps: Int?
  • \brief jitter during test in ms, only valid for streaming tests

    • @since 11.5

    Declaration

    Swift

    public var jitter: Int?
  • \brief baseline latency in ms

    • @since 11.5

    Declaration

    Swift

    public var latency: Int
  • \brief packet loss percent during test, only valid for streaming tests

    • @since 11.5

    Declaration

    Swift

    public var loss: Double?
  • Declaration

    Swift

    public init(json: [String : Any])