OptionsDownloader class

Downloads available track options for a media.

Constructors

OptionsDownloader()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
getter/setter pair
onOptionsNotReceived ↔ (dynamic Function(VdoError)?)
getter/setter pair
onOptionsReceived ↔ (dynamic Function(DownloadOptions)?)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → dynamic
downloadOptionsWithOtp(String otp, String playbackInfo, String? customPlayerId, dynamic onOptionsReceived(DownloadOptions), dynamic onOptionsNotReceived(VdoError)?) → dynamic
Request download options with otp, playbackInfo and custom player id.
downloadOptionsWithToken(String token, String mediaId, String? customPlayerId, dynamic onOptionsReceived(DownloadOptions), dynamic onOptionsNotReceived(VdoError)?) → dynamic
Request download options with token, videoId and custom player id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited