com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / GenreStationFetcher
class GenreStationFetcher
Fetch genre stations and get tracks for a specific genre station.
<init> | GenreStationFetcher(httpClient: HttpClient , territory: String = "TW") Creates a genre station fetcher. |
genreStationId | lateinit var genreStationId: String |
fetchAllGenreStations | fun fetchAllGenreStations(limit: Int ? = null, offset: Int ? = null): ResponseFuture<JsonObject> Fetch all genre stations. |
fetchMetadata | fun fetchMetadata(): ResponseFuture<JsonObject> Fetch metadata of a genre station by given ID. |
setGenreStationId | fun setGenreStationId(genreStationId: String ): GenreStationFetcher Set a genre station ID. |