NativeDownloadManagerApi class
Constructors
- NativeDownloadManagerApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
-
Constructor for NativeDownloadManagerApi. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pigeonVar_binaryMessenger → BinaryMessenger?
-
final
- pigeonVar_messageChannelSuffix → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelDownload(
DownloadAsset asset) → Future< void> -
deleteAllDownloads(
) → Future< void> -
deleteDownload(
DownloadAsset asset) → Future< void> -
dispose(
) → Future< void> -
getAllDownloads(
) → Future< List< DownloadAsset> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseDownload(
DownloadAsset asset) → Future< void> -
resumeDownload(
DownloadAsset asset) → Future< void> -
startDownload(
String assetId, String accessToken) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
pigeonChannelCodec
→ const MessageCodec<
Object?>