onCurrentPitchValueUpdate method

void onCurrentPitchValueUpdate(
  1. ZegoCopyrightedMusic copyrightedMusic,
  2. String resourceID,
  3. int currentDuration,
  4. int pitchValue,
)

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,
) {}