download abstract method

Future<ZegoCopyrightedMusicDownloadResult> download(
  1. String resourceID
)

Download music resource.

Available since: 2.13.0 Description: Download music resource. It can only be played after downloading successfully. Use case: After obtaining the music resource authorization, use this interface to download the corresponding resources. When to call: After initializing the copyrighted music success initCopyrightedMusic. Caution: Downloading copyrighted music resources is affected by the Internet.

  • resourceID the resource ID corresponding to the song or accompaniment.

Implementation

Future<ZegoCopyrightedMusicDownloadResult> download(String resourceID);