My Project
Instance Methods | List of all members
<NESongPreloadProtocol> Protocol Reference

预加载协议 More...

#import <NECopyrightedMedia.h>

Inheritance diagram for <NESongPreloadProtocol>:

Instance Methods

(void) - onPreloadStart:channel:
 
(void) - onPreloadProgress:channel:progress:
 
(void) - onPreloadComplete:channel:error:
 

Detailed Description

预加载协议

Method Documentation

◆ onPreloadComplete:channel:error:

- (void) onPreloadComplete: (NSString *)  songId
channel: (SongChannel channel
error: (NSError *_Nullable)  error 
optional

下载完成

Parameters
songId歌曲歌曲ID
error成功为nil

◆ onPreloadProgress:channel:progress:

- (void) onPreloadProgress: (NSString *)  songId
channel: (SongChannel channel
progress: (float)  progress 
optional

下载进度回调

Parameters
songId歌曲ID
progress进度值

◆ onPreloadStart:channel:

- (void) onPreloadStart: (NSString *)  songId
channel: (SongChannel channel 
optional

开始下载回调

Parameters
songId歌曲Id

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