Formats
fun Formats(title: String = "", url: String = "", src: String = "", videoData: MutableList<VideoResource> = mutableListOf(), imageData: MutableList<ImageResource> = mutableListOf(), audioData: MutableList<AudioResource> = mutableListOf(), cookies: MutableList<Cookie> = mutableListOf(), selectedVideoIndex: Int? = null, selectedAudioIndex: Int? = null, selectedThumbnailIndex: Int? = null)
Parameters
title
Video title without \n and \t
url
User pasted source URL
src
Which Extractor is used Values can be "INSTAGRAM" or "FACEBOOK"
image Data
List of possible image with it's URL
video Data
List of available video qualities
audio Data
List of available audio qualities
cookies
Map of cookies currently used by TikTok downloader. Use this to download video
selected Video Index
Index of selected video and null
if nothing is selected
selected Audio Index
Index of selected audio and null
if nothing is selected
selected Thumbnail Index
Resolution of image(key) that was selected