onDownloadProgressUpdate method

void onDownloadProgressUpdate(
  1. ZegoCopyrightedMusic copyrightedMusic,
  2. String resourceID,
  3. double progressRate
)

Callback for download song or accompaniment progress rate.

  • 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.

Implementation

void onDownloadProgressUpdate(
  ZegoCopyrightedMusic copyrightedMusic,
  String resourceID,
  double progressRate,
) {}