Package-level declarations

Types

Link copied to clipboard
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

Link copied to clipboard
sealed class Error

Instance of Error will be returned when Result.Failed

Link copied to clipboard
data class Formats(var title: String = "", var url: String = "", var src: String = "", val videoData: MutableList<VideoResource> = mutableListOf(), val imageData: MutableList<ImageResource> = mutableListOf(), val audioData: MutableList<AudioResource> = mutableListOf(), val cookies: MutableList<Cookie> = mutableListOf(), var selectedVideoIndex: Int? = null, var selectedAudioIndex: Int? = null, var selectedThumbnailIndex: Int? = null)
Link copied to clipboard
data class ImageResource(val url: String, val mimeType: String = MimeType.IMAGE_JPEG, val resolution: String = "--", var size: Long = 0)
Link copied to clipboard
sealed class ProgressState

Just to show progress to UI/UX

Link copied to clipboard
sealed class Result

It contains callbacks what's happening in Extraction Process

Link copied to clipboard
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