logo
On this page

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
NameTypeDescription
copyrightedMusicZegoCopyrightedMusic *Copyrighted music instance that triggers this callback.
resourceIDNSString *The resource ID of the song or accompaniment that triggered this callback.
progressRatefloatdownload 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
NameTypeDescription
copyrightedMusicZegoCopyrightedMusic *Copyrighted music instance that triggers this callback.
resourceIDNSString *The resource ID of the song or accompaniment that triggered this callback.
currentDurationintCurrent playback progress.
pitchValueintReal-time pitch accuracy or value.

Previous

zegocopyrightedmusicconfig

Next

zegocopyrightedmusicgetlyricconfig

On this page

Back to top