NetworkStatisticsEntry

public indirect enum NetworkStatisticsEntry : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum

Contains statistics about network usage

  • Contains information about the total amount of data that was used to send and receive files

    • fileType: Type of the file the data is part of
    • networkType: Type of the network the data was sent through. Call setNetworkType to maintain the actual network type
    • sentBytes: Total number of bytes sent
    • receivedBytes: Total number of bytes received

    Declaration

    Swift

    case file(fileType: FileType, networkType: NetworkType, sentBytes: Int53, receivedBytes: Int53)
  • Contains information about the total amount of data that was used for calls

    • networkType: Type of the network the data was sent through. Call setNetworkType to maintain the actual network type
    • sentBytes: Total number of bytes sent
    • receivedBytes: Total number of bytes received
    • duration: Total call duration, in seconds

    Declaration

    Swift

    case call(networkType: NetworkType, sentBytes: Int53, receivedBytes: Int53, duration: Double)