Package im.zego.zegoexpress.callback
Class IZegoCopyrightedMusicEventHandler
- java.lang.Object
-
- im.zego.zegoexpress.callback.IZegoCopyrightedMusicEventHandler
-
public abstract class IZegoCopyrightedMusicEventHandler extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IZegoCopyrightedMusicEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCurrentPitchValueUpdate(ZegoCopyrightedMusic copyrightedMusic, java.lang.String resourceID, int currentDuration, int pitchValue)
Real-time pitch line callback.void
onDownloadProgressUpdate(ZegoCopyrightedMusic copyrightedMusic, java.lang.String resourceID, float progressRate)
Callback for download song or accompaniment progress rate.
-
-
-
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.
-
-