Search code examples
androiddeezer

Preloading with the Deezer Android SDK


In the JavaScript SDK there's dz.player.preloadTrack which works great to smoothen track transitions. An analogous API does not appear to be available in the Deezer Android SDK — is this planned or is the app expected to create two Player instances where the next track is on "stand-by" in the other instance?


Solution

  • Indeed for now there is no preloading feature in the Android SDK, but we will look into this for a next version of the SDK. For now indeed you might want to create a second player to get a smooth transition between two tracks. Please note that you can have up to 5 Players simultaneously in Deezer's SDK.