AudioItem

data class AudioItem(val stream: AudioItem.Stream, val metaData: AudioItem.Metadata?)

Constructors

Link copied to clipboard
fun AudioItem(stream: AudioItem.Stream, metaData: AudioItem.Metadata?)

Types

Link copied to clipboard
data class Metadata(val disableTemplate: Boolean?, val template: JsonObject?)
Link copied to clipboard
data class ProgressReport(val progressReportDelayInMilliseconds: Long?, val progressReportIntervalInMilliseconds: Long?)
Link copied to clipboard
data class Stream(    val url: String,     val offsetInMilliseconds: Long,     val progressReport: AudioItem.ProgressReport?,     val token: String,     val expectedPreviousToken: String)

Properties

Link copied to clipboard
@SerializedName(value = "metadata")
val metaData: AudioItem.Metadata?
Link copied to clipboard
@SerializedName(value = "stream")
val stream: AudioItem.Stream