AliyunPlayer v7.0.0
Aliyun Player API Reference Manual for iOS Platforms
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Pages
AliVodMediaLoader Class Reference

#import "AliVodMediaLoader.h"

Inheritance diagram for AliVodMediaLoader:

Instance Methods

(void) - cancel:index:
 取消加载。注意:不会删除已经下载的文件。 More...
 
(void) - load:index:duration:
 开始加载文件。异步加载。可以同时加载多个。 More...
 
(void) - pause:index:
 暂停加载。 More...
 
(void) - prepareVidAuthSource:
 
(void) - prepareVidStsSource:
 
(void) - removeVidSource:
 
(void) - resume:index:
 恢复加载。 More...
 
(void) - setAliVodMediaLoaderStatusDelegate:
 设置状态代理,参考AliMediaLoaderStatusDelegate More...
 

Class Methods

(instancetype) + shareInstance
 

Method Documentation

◆ cancel:index:

- (void) cancel: (NSString *)  vid
index: (int)  index 

取消加载。注意:不会删除已经下载的文件。

Parameters
url视频文件地址 。为nil或者空,则取消全部。

◆ load:index:duration:

- (void) load: (NSString *)  vid
index: (int)  index
duration: (int64_t)  duration 

开始加载文件。异步加载。可以同时加载多个。

Parameters
url视频文件地址
duration加载的时长大小.单位:毫秒

◆ pause:index:

- (void) pause: (NSString *)  vid
index: (int)  index 

暂停加载。

Parameters
url视频文件地址。 为nil或者空,则暂停全部。

◆ prepareVidAuthSource:

- (void) prepareVidAuthSource: (AVPVidAuthSource *)  authSource

◆ prepareVidStsSource:

- (void) prepareVidStsSource: (AVPVidStsSource *)  stsSource

◆ removeVidSource:

- (void) removeVidSource: (NSString *)  vid

◆ resume:index:

- (void) resume: (NSString *)  vid
index: (int)  index 

恢复加载。

Parameters
url视频文件地址。 为nil或者空,则恢复全部。

◆ setAliVodMediaLoaderStatusDelegate:

- (void) setAliVodMediaLoaderStatusDelegate: (id< AliVodMediaLoaderStatusDelegate >)  delegate

设置状态代理,参考AliMediaLoaderStatusDelegate

See also
AliMediaLoaderStatusDelegate

◆ shareInstance

+ (instancetype) shareInstance

The documentation for this class was generated from the following file: