onCurrentPitchValueUpdate property

(void Function(ZegoCopyrightedMusic copyrightedMusic, String resourceID, int currentDuration, int pitchValue)?) onCurrentPitchValueUpdate
getter/setter pair

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

static void Function(ZegoCopyrightedMusic copyrightedMusic, String resourceID,
    int currentDuration, int pitchValue)? onCurrentPitchValueUpdate;