onDownloadProgressUpdate property

(void Function(ZegoCopyrightedMusic copyrightedMusic, String resourceID, double progressRate)?) onDownloadProgressUpdate
read / write

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

static void Function(ZegoCopyrightedMusic copyrightedMusic, String resourceID,
    double progressRate)? onDownloadProgressUpdate;