onCurrentPitchValueUpdate method
void
onCurrentPitchValueUpdate()
Real-time pitch line callback.
copyrightedMusicCopyrighted music instance that triggers this callback.resourceIDThe resource ID of the song or accompaniment that triggered this callback.currentDurationCurrent playback progress.pitchValueReal-time pitch accuracy or value.
Implementation
void onCurrentPitchValueUpdate(
ZegoCopyrightedMusic copyrightedMusic,
String resourceID,
int currentDuration,
int pitchValue,
) {}