OpenTV Player SDK For iOS  version 2.30.0
NetworkStatistics Class Reference

NetworkStatistics provides APIs to return various network statistic information during HLS stream playback. More...

#import <NetworkStatistics.h>

Inheritance diagram for NetworkStatistics:

Instance Methods

(void) - setListener:
 Used to set a statistics listener to the statistics reporter for listening to statistic events. More...
 

Properties

id< AdaptiveStreamingadaptiveStreaming
 This attribute provides access to the AdaptiveStreaming interface. More...
 
id< ContentServercontentServer
 This attribute provides access to the ContentServer interface. More...
 
id< NetworkUsageusage
 This attribute provides access to the NetworkUsage interface. More...
 
NSInteger error
 This attribute provides network error. More...
 
NSString * httpErrorMessage
 This attribute provides network errorMessage. More...
 

Detailed Description

NetworkStatistics provides APIs to return various network statistic information during HLS stream playback.

Definition at line 27 of file NetworkStatistics.h.

Method Documentation

◆ setListener:()

- (void) setListener: (id< IStatisticsListener >)  xListener

Used to set a statistics listener to the statistics reporter for listening to statistic events.

Parameters
xListenerThe IStatisticsListener implementing object to listen for events.

Property Documentation

◆ adaptiveStreaming

- (id<AdaptiveStreaming>) adaptiveStreaming
readnonatomicweak

This attribute provides access to the AdaptiveStreaming interface.

Returns nil if the interface isn’t available.

Definition at line 35 of file NetworkStatistics.h.

◆ contentServer

- (id<ContentServer>) contentServer
readnonatomicweak

This attribute provides access to the ContentServer interface.

Returns nil if the interface isn’t available.

Definition at line 43 of file NetworkStatistics.h.

◆ error

- (NSInteger) error
readnonatomicassign

This attribute provides network error.

Definition at line 58 of file NetworkStatistics.h.

◆ httpErrorMessage

- (NSString*) httpErrorMessage
readnonatomicweak

This attribute provides network errorMessage.

Definition at line 65 of file NetworkStatistics.h.

◆ usage

- (id<NetworkUsage>) usage
readnonatomicweak

This attribute provides access to the NetworkUsage interface.

Returns nil if the interface isn’t available.

Definition at line 51 of file NetworkStatistics.h.