download Options With Token
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
video Id
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
video Id
a valid videoId
language Code
a valid videoId
callback
listener for receiving download options