IZegoCopyrightedMusicEventHandler
IZegoCopyrightedMusicEventHandler
Declared in callback/IZegoCopyrightedMusicEventHandler.java
Methods
onDownloadProgressUpdate
onDownloadProgressUpdate
public void onDownloadProgressUpdate(ZegoCopyrightedMusic copyrightedMusic, String resourceID, float progressRate)Callback for download song or accompaniment progress rate.
Declared in
callback/IZegoCopyrightedMusicEventHandler.java| Name | Type | Description |
|---|---|---|
| copyrightedMusic | ZegoCopyrightedMusic | Copyrighted music instance that triggers this callback. |
| resourceID | String | The resource ID of the song or accompaniment that triggered this callback. |
| progressRate | float | download progress rate. |
onCurrentPitchValueUpdate
onCurrentPitchValueUpdate
public void onCurrentPitchValueUpdate(ZegoCopyrightedMusic copyrightedMusic, String resourceID, int currentDuration, int pitchValue)Real-time pitch line callback.
Declared in
callback/IZegoCopyrightedMusicEventHandler.java| Name | Type | Description |
|---|---|---|
| copyrightedMusic | ZegoCopyrightedMusic | Copyrighted music instance that triggers this callback. |
| resourceID | String | The resource ID of the song or accompaniment that triggered this callback. |
| currentDuration | int | Current playback progress. |
| pitchValue | int | Real-time pitch accuracy or value. |
