downloadOptionsWithToken

open fun downloadOptionsWithToken(@NonNull token: String, @NonNull videoId: String, customPlayerId: String, @NonNull callback: OptionsDownloader.Callback)

Request download options with token and playbackInfo.

Parameters

token

a valid token

videoId

a valid videoId

callback

listener for receiving download options


open fun downloadOptionsWithToken(@NonNull token: String, @NonNull videoId: String, customPlayerId: String, @NonNull languageCode: String, @NonNull callback: OptionsDownloader.Callback)

Request download options with token and playbackInfo.

Parameters

token

a valid token

videoId

a valid videoId

languageCode

a valid videoId

callback

listener for receiving download options