com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / TrackFetcher
class TrackFetcher
Fetch metadata of a track.
<init> | TrackFetcher(httpClient: HttpClient , territory: String = "TW") Creates a track fetcher. |
trackId | lateinit var trackId: String |
fetchMetadata | fun fetchMetadata(): ResponseFuture<JsonObject> Fetch metadata of a track by given ID. |
getWidgetUri | fun getWidgetUri(): String Get the widget url of the track. |
setTrackId | fun setTrackId(trackId: String ): TrackFetcher Set the track ID. |