toggle menu
yandex-music-api
0.1.0-dev6
common
switch theme
search in API
api-core
/
su.pank.yamusic.track
/
TracksApi
Tracks
Api
class
TracksApi
(
client
:
YaMusicApiClient
)
(
source
)
Members
Constructors
Tracks
Api
Link copied to clipboard
constructor
(
client
:
YaMusicApiClient
)
Functions
download
Info
Link copied to clipboard
suspend
fun
downloadInfo
(
trackId
:
String
)
:
List
<
DownloadInfo
>
download
Info
New
Link copied to clipboard
suspend
fun
downloadInfoNew
(
trackId
:
Int
,
canUseStreaming
:
Boolean
=
false
)
:
List
<
DownloadInfo
>
invoke
Link copied to clipboard
suspend operator
fun
invoke
(
vararg
trackIds
:
String
,
withPositions
:
Boolean
=
true
)
:
List
<
TrackData
>
like
Link copied to clipboard
suspend
fun
like
(
vararg
trackIds
:
Int
)
:
Revision
lyrics
Link copied to clipboard
suspend
fun
lyrics
(
trackId
:
Int
,
format
:
String
=
"TEXT"
)
:
Nothing
similar
Link copied to clipboard
suspend
fun
similar
(
trackId
:
Int
)
:
SimilarTracks
supplement
Link copied to clipboard
suspend
fun
supplement
(
trackId
:
Int
)
:
Supplement
unlike
Link copied to clipboard
suspend
fun
unlike
(
vararg
trackIds
:
Int
)
:
Revision