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
NMPMediaInfo::selected
BOOL selected
Indicates if current NMPMediaInfo is the selected media to download.
Definition:
MediaInfo.h:59
NMPMediaInfo::resolution
NSString * resolution
The media resolution variant as presented by the underlying adaptive resolution manifest.
Definition:
MediaInfo.h:34
NMPMediaInfo::localFile
NSString * localFile
The local storage path of the media.
Definition:
MediaInfo.h:69
NMPMediaInfo::bitrate
long bitrate
The media bitrate variant as presented by the underlying adaptive bitrate manifest in Kbps.
Definition:
MediaInfo.h:29
NMPMediaInfo::numberOfSegmentsDownloaded
unsigned int numberOfSegmentsDownloaded
The number of segments acquired so far and currently present on storage.
Definition:
MediaInfo.h:54
NMPMediaInfo::totalSizeEstimate
uint64_t totalSizeEstimate
The estimate of the total size in bytes.
Definition:
MediaInfo.h:41
NMPMediaInfo
NMPMediaInfo aggregates all the information pertaining to an adaptive streaming media representation.
Definition:
MediaInfo.h:24
NMPMediaInfo::totalSizeDownloaded
uint64_t totalSizeDownloaded
The total size in bytes downloaded so far.
Definition:
MediaInfo.h:49
NMPMediaInfo::realURI
NSString * realURI
The remote URI of the media.
Definition:
MediaInfo.h:64
build
Debug-iphoneos
include
MediaInfo.h
Generated on Tue Jun 8 2021 13:29:46 for OpenTV Player SDK For iOS by
1.8.15