Class IZegoCopyrightedMusicEventHandler


  • public abstract class IZegoCopyrightedMusicEventHandler
    extends java.lang.Object
    • Constructor Detail

      • IZegoCopyrightedMusicEventHandler

        public IZegoCopyrightedMusicEventHandler()
    • Method Detail

      • onDownloadProgressUpdate

        public void onDownloadProgressUpdate​(ZegoCopyrightedMusic copyrightedMusic,
                                             java.lang.String resourceID,
                                             float progressRate)
        Callback for download song or accompaniment progress rate.
        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.
      • onCurrentPitchValueUpdate

        public void onCurrentPitchValueUpdate​(ZegoCopyrightedMusic copyrightedMusic,
                                              java.lang.String resourceID,
                                              int currentDuration,
                                              int pitchValue)
        Real-time pitch line callback.
        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.