AndroidDownloadManager class

Constructors

AndroidDownloadManager()

Properties

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

Methods

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

Static Methods

enqueue({required String downloadUrl, required String downloadPath, required String fileName, String description = "Downloading in progress", Map<String, String>? headers, bool allowScanningByMediaScanner = true, int notificationVisibility = NotificationVisibility.VISIBILITY_VISIBLE_NOTIFY_COMPLETED}) Future<int>
listen(Function callback) → void
Returns the id of downloaded task as stream
requestPermission() Future<void>
Requests permission to download file