M3U8DLProvider class

Parser for .m3u8 files. Note: This does not work with master .m3u8 files.

Inheritance

Constructors

M3U8DLProvider({M3U8OutputFileExtensions outputFileExtension = M3U8OutputFileExtensions.ts})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
outputFileExtension M3U8OutputFileExtensions
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

download({required Uri url, required Map<String, String> headers, required HttpClient client}) Future<PartialDLResponse>
Downloads a file.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveFilename(String filename) String
This function is called to finalize the computed filename.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

parseM3U8({required String url, required Map<String, String> headers, required String data}) List<M3U8Item>