com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / FeaturedPlaylistCategoryFetcher
class FeaturedPlaylistCategoryFetcher
List featured playlist categories.
<init> | FeaturedPlaylistCategoryFetcher(httpClient: HttpClient , territory: String = "TW") List featured playlist categories. |
categoryId | lateinit var categoryId: String |
fetchAllFeaturedPlaylistCategories | fun fetchAllFeaturedPlaylistCategories(limit: Int ? = null, offset: Int ? = null): ResponseFuture<JsonObject> Fetch all featured playlist categories. |
fetchMetadata | fun fetchMetadata(): ResponseFuture<JsonObject> Fetch metadata of the category you init. |
fetchPlaylists | fun fetchPlaylists(limit: Int ? = null, offset: Int ? = null): ResponseFuture<JsonObject> Fetch featured playlists of the category with the category fetcher you init. Result will be paged. |
setCategoryId | fun setCategoryId(categoryId: String ): FeaturedPlaylistCategoryFetcher Init the featured playlist category fetcher. |