From 30ee89721d25be6b078b7e5893abcc9cad66564d Mon Sep 17 00:00:00 2001 From: Yehuda Ringler Date: Wed, 11 Nov 2020 07:30:40 -0500 Subject: [PATCH] document --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2ee0598..b448dfb 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,10 @@ To use `PositionManager`: you'd want to make sure to only have one instance per To take advantage of the position streams, seek via the `seek` method, not directly with `AudioService` method. Note that if you opt to save position, (For example, by using the `PositionedAudioTask.standard()` constructor, you can call seek on a media which isn't active, and playback for that media will start from the seeked-to position. +There is now also a `DownloadAudioTask`, which is used with `DownloadManager` on the client to download audio files for +offline playback. It is somewhat progressive - if audio is streaming and then downloaded, when the download is finished the +playback will switch to the offline file. + ### Motivation My initial audio BackgroundAudioTask quickly descended into a labyrinth of spaghetti code, inhabited by hosts of minotaur quick to consume any who hoped to maintain it.