VideoResource

data class VideoResource(val url: String, val mimeType: String, val quality: String = "--", var size: Long = 0, val hasAudio: Boolean = true)

Used to store basic details of Video Available for given link

Parameters

url

Direct URL for the particular video. It will be downloadable

mimeType

Mimetype of the video

quality

Resolution of the video. Eg:1080x1920, Default Value: --

size

Size of video in bytes

hasAudio

Specifies does this video has Audio with it.

Constructors

Link copied to clipboard
fun VideoResource(url: String, mimeType: String, quality: String = "--", size: Long = 0, hasAudio: Boolean = true)

Properties

Link copied to clipboard
val hasAudio: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var size: Long = 0
Link copied to clipboard
val url: String