AudioResource

data class AudioResource(val url: String, val mimeType: String, var size: Long = 0, var bitrate: Long? = null)

Used to store basic details of Audio Available for given link

Parameters

url

Direct URL for the particular video. It will be downloadable

mimeType

Mimetype of the video

size

Size of video in bytes

Constructors

Link copied to clipboard
fun AudioResource(url: String, mimeType: String, size: Long = 0, bitrate: Long? = null)

Properties

Link copied to clipboard
var bitrate: Long? = null
Link copied to clipboard
Link copied to clipboard
var size: Long = 0
Link copied to clipboard
val url: String