NetworkUsage
@objc
public protocol NetworkUsage
Network analytics related to network usage
-
Returns the number of bytes downloaded so far
Declaration
Swift
func bytesDownloaded() -> Int64Return Value
the number of bytes downloaded so far
-
Returns the empirical throughput, in bits per second, across all media downloaded
Declaration
Swift
func downloadBitrate() -> DoubleReturn Value
the throughput, in bits per second
-
Returns the video track’s average bit rate, in bits per second
Declaration
Swift
func downloadBitrateAverage() -> DoubleReturn Value
the video track’s average bit rate, in bits per second
-
Returns the number of media read requests from the server to this client
Declaration
Swift
func numberOfMediaRequests() -> IntReturn Value
The number of media read requests from the server to this client or -1 if unknown
-
Returns the accumulated duration, in seconds, of active network transfer of bytes
Declaration
Swift
func transferDuration() -> TimeIntervalReturn Value
the accumulated duration, in seconds, of active network transfer of bytes or -1 if unknown
-
Returns the total number of times that downloading the segments took too long.
Declaration
Swift
func downloadsOverdue() -> IntReturn Value
the total number of times that downloading the segments took too long or -1 if unknown