OpenTV Player SDK For iOS  version 2.30.0
<NetworkUsage> Protocol Reference

NetworkUsage provides statistics specific to the network usage. More...

#import <NetworkStatistics.h>

Inheritance diagram for <NetworkUsage>:

Properties

NSUInteger downloadBitrate
 This attribute contains an estimate of the current download bitrate expressed in bits/second. More...
 
NSUInteger downloadBitrateAverage
 This attribute contains an estimate of the average over time of the download bitrate expressed in bits/second. More...
 
int64_t bytesDownloaded
 This attribute contains the amount of bytes downloaded for the current content. More...
 

Detailed Description

NetworkUsage provides statistics specific to the network usage.

Definition at line 115 of file NetworkStatistics.h.

Property Documentation

◆ bytesDownloaded

- (int64_t) bytesDownloaded
readnonatomicassign

This attribute contains the amount of bytes downloaded for the current content.

Every time a new content is loaded, this value resets to 0.

Int64 total amount of bytes downloaded for the current content.

Definition at line 142 of file NetworkStatistics.h.

◆ downloadBitrate

- (NSUInteger) downloadBitrate
readnonatomicassign

This attribute contains an estimate of the current download bitrate expressed in bits/second.

The speed of the last downloaded chunk in bits/s, or zero if no chunks have been downloaded yet.

Definition at line 124 of file NetworkStatistics.h.

◆ downloadBitrateAverage

- (NSUInteger) downloadBitrateAverage
readnonatomicassign

This attribute contains an estimate of the average over time of the download bitrate expressed in bits/second.

This average is used by the HLS engine as an estimation of the current available bitrate.

The average download bitrate of the last 5 chunks, in bits/s

Definition at line 133 of file NetworkStatistics.h.