OpenTV Player SDK For iOS  version 2.30.0
MediaInfo.h
Go to the documentation of this file.
1 
13 #import <Foundation/Foundation.h>
14 
24 @interface NMPMediaInfo : NSObject
25 
29 @property (readonly) long bitrate;
30 
34 @property (readonly) NSString* resolution;
35 
41 @property (readonly) uint64_t totalSizeEstimate;
42 
49 @property (readonly) uint64_t totalSizeDownloaded;
50 
54 @property (readonly) unsigned int numberOfSegmentsDownloaded;
55 
59 @property (readonly) BOOL selected;
60 
64 @property (readonly) NSString* realURI;
65 
69 @property (readonly) NSString* localFile;
70 
71 -(NMPMediaInfo*)initWithMediaInfo:(NMPMediaInfo*)mediaInfo;
72 
73 @end
BOOL selected
Indicates if current NMPMediaInfo is the selected media to download.
Definition: MediaInfo.h:59
NSString * resolution
The media resolution variant as presented by the underlying adaptive resolution manifest.
Definition: MediaInfo.h:34
NSString * localFile
The local storage path of the media.
Definition: MediaInfo.h:69
long bitrate
The media bitrate variant as presented by the underlying adaptive bitrate manifest in Kbps.
Definition: MediaInfo.h:29
unsigned int numberOfSegmentsDownloaded
The number of segments acquired so far and currently present on storage.
Definition: MediaInfo.h:54
uint64_t totalSizeEstimate
The estimate of the total size in bytes.
Definition: MediaInfo.h:41
NMPMediaInfo aggregates all the information pertaining to an adaptive streaming media representation.
Definition: MediaInfo.h:24
uint64_t totalSizeDownloaded
The total size in bytes downloaded so far.
Definition: MediaInfo.h:49
NSString * realURI
The remote URI of the media.
Definition: MediaInfo.h:64