KollusContent
KollusContent Class
#import <KollusContent.h>
A class that holds content metadata such as the URL, DRM information, and download status of the content to be played.
Properties
NSString * companyNSString * titleNSString * courseNSString * teacherNSString * snapshotNSString * thumbnailNSString * mediaContentKeyNSString * synopsisNSString * descriptionURLCGSize naturalSizeNSString * iosPlayerTypeKollusContentType contentTypeNSDate * DRMCheckDateNSDate * DRMExpireDatelong DRMExpireCountMaxlong DRMExpireCountNSTimeInterval DRMTotalExpirePlayTimeNSTimeInterval DRMExpirePlayTimeBOOL DRMExpiredBOOL DRMExpireRefreshPopupNSTimeInterval durationNSTimeInterval positionNSUInteger contentIndexlong long fileSizelong long downloadSizeNSUInteger downloadProgressBOOL downloadedlong long downloadStopSizeint downloadedTime
Property details
| Property | Description |
|---|---|
(NSString*) company[read, nonatomic, copy] | Company name |
(NSString*) title[read, nonatomic, copy] | Content title |
(NSString*) course[read, nonatomic, copy] | Course name |
(NSString*) teacher[read, nonatomic, copy] | Instructor name |
(NSString*) snapshot[read, nonatomic, copy] | Snapshot file path |
(NSString*) thumbnail[read, nonatomic, copy] | Thumbnail file path |
(NSString*) mediaContentKey[read, nonatomic, copy] | Media content key |
(NSString*) synopsis[read, nonatomic, copy] | Synopsis |
(NSString*) descriptionURL[read, nonatomic, copy] | Details URL |
(CGSize) naturalSize[read, nonatomic, unsafe_unretained] | Original video resolution |
(NSString*) iosPlayerType[read, nonatomic, copy] | iOS player type (hw, sw, native) |
(KollusContentType) contentType[read, nonatomic, unsafe_unretained] | Content type |
(NSDate*) DRMCheckDate[read, nonatomic, strong] | DRM authentication check date and time |
(NSDate*) DRMExpireDate[read, nonatomic, strong] | DRM expiration date and time |
(long) DRMExpireCountMax[read, nonatomic, unsafe_unretained] | Maximum DRM play count |
(long) DRMExpireCount[read, nonatomic, unsafe_unretained] | DRM play count |
(NSTimeInterval) DRMTotalExpirePlayTime[read, nonatomic, unsafe_unretained] | Total DRM playback time allowed |
(NSTimeInterval) DRMExpirePlayTime[read, nonatomic, unsafe_unretained] | Remaining DRM playback time allowed |
(BOOL) DRMExpired[read, nonatomic, unsafe_unretained] | Whether DRM has expired |
(BOOL) DRMExpireRefreshPopup[read, nonatomic, unsafe_unretained] | Whether to display a DRM renewal popup |
(NSTimeInterval) duration[read, nonatomic, unsafe_unretained] | Total content length |
(NSTimeInterval) position[read, nonatomic, unsafe_unretained] | Last playback position |
(NSUInteger) contentIndex[read, nonatomic, unsafe_unretained] | Content index (used when playing downloaded content) |
(long long) fileSize[read, nonatomic, unsafe_unretained] | Content file size |
(long long) downloadSize[read, nonatomic, unsafe_unretained] | Downloaded file size |
(NSUInteger) downloadProgress[read, nonatomic, unsafe_unretained] | Download progress (%) |
(BOOL) downloaded[read, nonatomic, unsafe_unretained] | Whether the download is complete |
(long long) downloadStopSize[read, nonatomic, unsafe_unretained] | File size at which the download was stopped |
(int) downloadedTime[read, nonatomic, unsafe_unretained] | Download completion date and time |