PLVVodVideo Class Reference
Inherits from | NSObject |
---|---|
Declared in | PLVVodVideo.h |
qualityCount
可用清晰度数量
@property (nonatomic, assign, readonly) int qualityCount
Declared In
PLVVodVideo.h
preferredQuality
默认播放清晰度
@property (nonatomic, assign) PLVVodQuality preferredQuality
Declared In
PLVVodVideo.h
duration
视频时长
@property (nonatomic, assign, readonly) NSTimeInterval duration
Declared In
PLVVodVideo.h
sourcefilesize
源文件大小
@property (nonatomic, assign, readonly) NSInteger sourcefilesize
Declared In
PLVVodVideo.h
filesizes
各码率视频大小
@property (nonatomic, strong, readonly) NSArray<NSNumber*> *filesizes
Declared In
PLVVodVideo.h
categoryId
分类id
@property (nonatomic, copy, readonly) NSString *categoryId
Declared In
PLVVodVideo.h
categoryTree
分类树
@property (nonatomic, strong, readonly) NSArray *categoryTree
Declared In
PLVVodVideo.h
interactive
是否存在问答
@property (nonatomic, assign, readonly) BOOL interactive
Declared In
PLVVodVideo.h
srts
视频字幕(srtKey: srtUrl)
@property (nonatomic, strong) NSDictionary<NSString*NSString*> *srts
Declared In
PLVVodVideo.h
teaserDuration
片头播放时长
@property (nonatomic, assign) NSTimeInterval teaserDuration
Declared In
PLVVodVideo.h
availableRouteLines
可用线路
@property (nonatomic, strong, readonly) NSArray<NSString*> *availableRouteLines
Declared In
PLVVodVideo.h
error
若视频不合法,可以从该属性获取不合法原因,否则为空
@property (nonatomic, strong) NSError *error
Declared In
PLVVodVideo.h
+ requestVideoWithVid:completion:
请求获取 PLVVodVideo 模型对象
+ (void)requestVideoWithVid:(NSString *)vid completion:(void ( ^ ) ( PLVVodVideo *video , NSError *error ))completion
Parameters
vid |
|
---|---|
completion |
PLVVodVideo 模型对象 |
Declared In
PLVVodVideo.h