Class NWDataTransferReport

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public final class NWDataTransferReport
extends NWObject
implements NSObjectProtocol
  • Constructor Details

    • NWDataTransferReport

      public NWDataTransferReport()
  • Method Details

    • allPaths

      public static int allPaths()
      Since:
      Available in iOS 13.0 and later.
    • getState

      public NWDataTransferReportState getState()
      Since:
      Available in iOS 13.0 and later.
    • collect

      public void collect​(DispatchQueue queue, VoidBlock1<NWDataTransferReport> collect_block)
      Since:
      Available in iOS 13.0 and later.
    • getDurationMilliseconds

      public long getDurationMilliseconds()
      Since:
      Available in iOS 13.0 and later.
    • getPathCount

      public int getPathCount()
      Since:
      Available in iOS 13.0 and later.
    • getReceivedIpPacketCount

      public long getReceivedIpPacketCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getSentIpPacketCount

      public long getSentIpPacketCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getReceivedTransportByteCount

      public long getReceivedTransportByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getReceivedTransportDuplicateByteCount

      public long getReceivedTransportDuplicateByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getReceivedTransportOutOfOrderByteCount

      public long getReceivedTransportOutOfOrderByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getSentTransportByteCount

      public long getSentTransportByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getSentTransportRetransmittedByteCount

      public long getSentTransportRetransmittedByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getTransportSmoothedRttMilliseconds

      public long getTransportSmoothedRttMilliseconds​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getTransportMinimumRttMilliseconds

      public long getTransportMinimumRttMilliseconds​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getTransportRttVariance

      public long getTransportRttVariance​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getReceivedApplicationByteCount

      public long getReceivedApplicationByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getSentApplicationByteCount

      public long getSentApplicationByteCount​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • copyPathInterface

      public NWInterface copyPathInterface​(int path_index)
      Since:
      Available in iOS 13.0 and later.
    • getPathRadioType

      public NWInterfaceRadioType getPathRadioType​(int path_index)
      Since:
      Available in iOS 15.0 and later.