OpenTV Player SDK For iOS  version 2.30.0
Asset.h
Go to the documentation of this file.
1
14#import <Foundation/Foundation.h>
15#import "MediaInfo.h"
16
24@interface NMPAsset : NSObject
25
26
31@property (readonly) BOOL isProtected;
32
37@property (readonly) NSString* PRMContentID;
38
43@property (readonly) NSString* PRMSyntax;
44
49@property (readonly) NSArray* mediaInfo;
50
54@property (readonly) unsigned int duration;
55
59@property (readonly) unsigned int numberOfSegments;
60
61@property (readonly) unsigned int IDInAssetTable;
62
63- (NMPAsset*)initWithAsset:(NMPAsset*)asset;
64
65@end
Created on 12/08/2014.
NMPAsset aggregates all the information pertaining to an adaptive streaming media asset.
Definition: Asset.h:25
unsigned int IDInAssetTable
Definition: Asset.h:61
unsigned int numberOfSegments
Gets the number of segments that adaptive streaming asset is composed of once completely downloaded.
Definition: Asset.h:59
BOOL isProtected
Checks if the asset is PRM protected.
Definition: Asset.h:31
NSArray * mediaInfo
Gets the various representations available for this adaptive streaming asset.
Definition: Asset.h:49
NSString * PRMContentID
Gets the PRM content ID linked to that asset.
Definition: Asset.h:37
unsigned int duration
Gets the duration of the asset once completely downloaded, in seconds.
Definition: Asset.h:54
NSString * PRMSyntax
Gets the PRM syntax linked to that asset.
Definition: Asset.h:43