yam-api
Toggle table of contents
1.0.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
yam-api
core
/
su.pank.yamapi.downloadInfo.model
Package-level
declarations
Types
Properties
Types
Codec
Link copied to clipboard
@
Serializable
enum
Codec
:
Enum
<
Codec
>
Container
Link copied to clipboard
@
Serializable
enum
Container
:
Enum
<
Container
>
Download
Info
Data
Link copied to clipboard
@
Serializable
data
class
DownloadInfoData
(
val
codec
:
Codec
,
val
bitrateInKbps
:
Int
,
val
gain
:
Boolean
,
val
preview
:
Boolean
,
val
downloadInfoUrl
:
String
,
val
direct
:
Boolean
,
val
container
:
Container
?
=
null
)
Lossless
Download
Info
Data
Link copied to clipboard
@
Serializable
data
class
LosslessDownloadInfoData
(
val
quality
:
String
,
val
codec
:
Codec
,
val
urls
:
List
<
String
>
,
val
bitrate
:
Int
)
Lossless
Download
Info
Request
Link copied to clipboard
@
Serializable
data
class
LosslessDownloadInfoRequest
(
val
timestamp
:
Long
,
val
trackId
:
String
,
val
quality
:
String
=
"lossless"
,
val
codecs
:
String
=
"flac,aac,he-aac,mp3"
,
val
transports
:
String
=
"raw"
,
val
sign
:
String
)
Properties
SIGN_
SALT
Link copied to clipboard
val
SIGN_SALT
:
String