onCurrentPitchValueUpdate method
void
onCurrentPitchValueUpdate()
Real-time pitch line callback.
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.
Implementation
void onCurrentPitchValueUpdate(
ZegoCopyrightedMusic copyrightedMusic,
String resourceID,
int currentDuration,
int pitchValue,
) {}