TrackData

@Serializable
data class TrackData(val id: String, val title: String, val available: Boolean, val availableForPremiumUsers: Boolean? = null, val availableFullWithoutPermission: Boolean? = null, val availableForOptions: List<Options> = listOf(), val durationMs: Int? = null, val previewDurationMs: Int? = null, val storageDir: String? = null, val fileSize: Int? = null, val r128: R128? = null, val artists: List<Artist>, val albums: List<Album>, val trackSource: String? = null, val major: Major? = null, val ogImageUri: String? = null, val coverUri: String? = null, val lyricsAvailable: Boolean? = null, val lyricsInfo: LyricsInfo? = null, val derivedColors: DerivedColors? = null, val type: AlbumType? = null, val rememberPosition: Boolean? = null, val trackSharingFlag: TrackSharingFlag? = null, val contentWarning: String? = null)(source)

Constructors

Link copied to clipboard
constructor(id: String, title: String, available: Boolean, availableForPremiumUsers: Boolean? = null, availableFullWithoutPermission: Boolean? = null, availableForOptions: List<Options> = listOf(), durationMs: Int? = null, previewDurationMs: Int? = null, storageDir: String? = null, fileSize: Int? = null, r128: R128? = null, artists: List<Artist>, albums: List<Album>, trackSource: String? = null, major: Major? = null, ogImageUri: String? = null, coverUri: String? = null, lyricsAvailable: Boolean? = null, lyricsInfo: LyricsInfo? = null, derivedColors: DerivedColors? = null, type: AlbumType? = null, rememberPosition: Boolean? = null, trackSharingFlag: TrackSharingFlag? = null, contentWarning: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val contentWarning: String? = null
Link copied to clipboard
val coverUri: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val durationMs: Int? = null
Link copied to clipboard
val fileSize: Int? = null
Link copied to clipboard
@Serializable(with = IntOrStringSerializer::class)
val id: String
Link copied to clipboard
Link copied to clipboard
val lyricsInfo: LyricsInfo? = null
Link copied to clipboard
val major: Major? = null
Link copied to clipboard
@SerialName(value = "ogImage")
val ogImageUri: String? = null
Link copied to clipboard
val previewDurationMs: Int? = null
Link copied to clipboard
val r128: R128? = null
Link copied to clipboard
Link copied to clipboard
val storageDir: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val trackSource: String? = null
Link copied to clipboard
val type: AlbumType? = null