Station Download Listener
fun interface StationDownloadListener
Content copied to clipboard
This interface is used to provide download progress notifications when using the downloadAndSync method to download offline music for playback.
Functions
on Download Progress
Link copied to clipboard
abstract fun onDownloadProgress(station: Station, totalDownloads: Int, pendingDownloads: Int, interruptedDownloads: Int)
Content copied to clipboard
This method is called initially to indicate that file downloading has begun, and then subsequently to indicate file download progress. The final call to this method will have pendingDownloads
set to 0.