AliyunPlayer  v5.4.5.0
Aliyun Player API Reference Manual for iOS Platforms
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties
AliMediaLoader Class Reference
Inheritance diagram for AliMediaLoader:

Instance Methods

(void) - cancel:
 Cancel load. More...
 
(void) - load:duration:
 Start load. More...
 
(void) - pause:
 pause load. More...
 
(void) - resume:
 Resume load. More...
 
(void) - setAliMediaLoaderStatusDelegate:
 , set the status Delegate More...
 

Class Methods

(instancetype) + shareInstance
 

Method Documentation

◆ cancel:

- (void) cancel: (NSString *)  url

Cancel load.

Note: Downloaded files will not be deleted.

Parameters
urlVideo file url. Nil or null, cancel all.

◆ load:duration:

- (void) load: (NSString *)  url
duration: (int64_t)  duration 

Start load.

Asynchronous loading. You can load more than one at a time.

Parameters
urlVideo file url
durationLoad duration. Unit: millisecond

◆ pause:

- (void) pause: (NSString *)  url

pause load.

Parameters
urlVideo file url. Nil or null, pause all.

◆ resume:

- (void) resume: (NSString *)  url

Resume load.

Parameters
urlVideo file url. Nil or null, resume all.

◆ setAliMediaLoaderStatusDelegate:

- (void) setAliMediaLoaderStatusDelegate: (id< AliMediaLoaderStatusDelegate >)  delegate

, set the status Delegate

See also
AliMediaLoaderStatusDelegate

◆ shareInstance

+ (instancetype) shareInstance

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