DownloadInfo

@Serializable
data class DownloadInfo(val codec: Codec, val bitrateInKbps: Int, val gain: Boolean, val preview: Boolean, val downloadInfoUrl: String, val direct: Boolean, val container: Container? = null)(source)

Constructors

Link copied to clipboard
constructor(codec: Codec, bitrateInKbps: Int, gain: Boolean, preview: Boolean, downloadInfoUrl: String, direct: Boolean, container: Container? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val container: Container? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun download(client: YaMusicApiClient): ByteArray
Link copied to clipboard
suspend fun fetchDirectLink(client: YaMusicApiClient): String?