NetworkUsage
public protocol NetworkUsage
Network analytics related to network usage
-
Returns the number of bytes downloaded so far
Declaration
Swift
func bytesDownloaded() -> Int64
Return Value
the number of bytes downloaded so far
-
Returns the empirical throughput, in bits per second, across all media downloaded
Declaration
Swift
func downloadBitrate() -> Double
Return Value
the throughput, in bits per second
-
Returns the video track’s average bit rate, in bits per second
Declaration
Swift
func downloadBitrateAverage() -> Double
Return Value
the video track’s average bit rate, in bits per second