OpenAPI-Android

com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / FeaturedPlaylistCategoryFetcher

FeaturedPlaylistCategoryFetcher

class FeaturedPlaylistCategoryFetcher

List featured playlist categories.

Constructors

<init> FeaturedPlaylistCategoryFetcher(httpClient: HttpClient, territory: String = "TW")
List featured playlist categories.

Properties

categoryId lateinit var categoryId: String

Functions

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.