setActiveStation

fun setActiveStation(station: Station, withCrossfade: Boolean)

Change station to the given one, with optional crossfade between the current song and the song in the new station.

If withCrossfade is true, then the server first retrieves enough of the first song in the new active station to begin playback, then it begins fading out the current song while starting the new song.

Parameters

station

Station

withCrossfade

If true, the current song will fade out, rather than stop, when the new station starts playback.