toggle menu
yandex-music-api
0.1.0-dev6
common
switch theme
search in API
api-core
/
su.pank.yamusic.track
/
Track
Track
class
Track
(
client
:
YaMusicApiClient
,
val
trackData
:
TrackData
)
(
source
)
Members
Constructors
Track
Link copied to clipboard
constructor
(
client
:
YaMusicApiClient
,
trackData
:
TrackData
)
Properties
artist
Link copied to clipboard
val
artist
:
List
<
Artist
>
id
Link copied to clipboard
val
id
:
String
title
Link copied to clipboard
val
title
:
String
track
Data
Link copied to clipboard
val
trackData
:
TrackData
Functions
download
Info
Link copied to clipboard
suspend
fun
downloadInfo
(
codec
:
Codec
,
bitrateInKbps
:
Int
)
:
DownloadInfo
get
Url
Cover
Link copied to clipboard
fun
getUrlCover
(
size
:
CoverSize
)
:
String
get
Url
Og
Image
Link copied to clipboard
fun
getUrlOgImage
(
size
:
CoverSize
)
:
String