ZegoCopyrightedMusicEventHandler
ZegoCopyrightedMusicEventHandler
Declared in ZegoExpressEventHandler.h
Methods
onDownloadProgressUpdate:resourceID:progressRate:
onDownloadProgressUpdate:resourceID:progressRate:
- (void)onDownloadProgressUpdate:(ZegoCopyrightedMusic *) copyrightedMusic resourceID:(NSString *) resourceID progressRate:(float) progressRate;Callback for download song or accompaniment progress rate.
Declared in
ZegoExpressEventHandler.h| Name | Type | Description |
|---|---|---|
| copyrightedMusic | ZegoCopyrightedMusic * | Copyrighted music instance that triggers this callback. |
| resourceID | NSString * | The resource ID of the song or accompaniment that triggered this callback. |
| progressRate | float | download progress rate. |
onCurrentPitchValueUpdate:resourceID:currentDuration:pitchValue:
onCurrentPitchValueUpdate:resourceID:currentDuration:pitchValue:
- (void)onCurrentPitchValueUpdate:(ZegoCopyrightedMusic *) copyrightedMusic resourceID:(NSString *) resourceID currentDuration:(int) currentDuration pitchValue:(int) pitchValue;Real-time pitch line callback.
Declared in
ZegoExpressEventHandler.h| Name | Type | Description |
|---|---|---|
| copyrightedMusic | ZegoCopyrightedMusic * | Copyrighted music instance that triggers this callback. |
| resourceID | NSString * | The resource ID of the song or accompaniment that triggered this callback. |
| currentDuration | int | Current playback progress. |
| pitchValue | int | Real-time pitch accuracy or value. |
