ZegoCopyrightedMusicEventHandler Protocol Reference

Conforms to NSObject
Declared in ZegoExpressEventHandler.h

– onDownloadProgressUpdate:resourceID:progressRate:

Copyrighted music instance that triggers this callback.

- (void)onDownloadProgressUpdate:(ZegoCopyrightedMusic *)copyrightedMusic resourceID:(NSString *)resourceID progressRate:(float)progressRate

Parameters

copyrightedMusic

Copyrighted music instance that triggers this callback.

resourceID

The resource ID of the song or accompaniment that triggered this callback.

progressRate

download progress rate.

Declared In

ZegoExpressEventHandler.h

– onCurrentPitchValueUpdate:resourceID:currentDuration:pitchValue:

Copyrighted music instance that triggers this callback.

- (void)onCurrentPitchValueUpdate:(ZegoCopyrightedMusic *)copyrightedMusic resourceID:(NSString *)resourceID currentDuration:(int)currentDuration pitchValue:(int)pitchValue

Parameters

copyrightedMusic

Copyrighted music instance that triggers this callback.

resourceID

The resource ID of the song or accompaniment that triggered this callback.

currentDuration

Current playback progress.

pitchValue

Real-time pitch accuracy or value.

Declared In

ZegoExpressEventHandler.h