DownloadManagement class
Provides tools to manage bulk downloading to a specific StoreDirectory
Is a singleton to ensure functioning as expected.
The 'fmtc_plus_background_downloading' module must be installed to add the background downloading functionality.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
cancel(
) → Future< void> - Cancels the ongoing foreground download and recovery session (within the current object)
-
check(
DownloadableRegion< List< Object>> region) → Future< int> - Check approximately how many downloadable tiles are within a specified DownloadableRegion
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startForeground(
{required DownloadableRegion< List< Object>> region, FMTCTileProviderSettings? tileProviderSettings, bool disableRecovery = false, DownloadBufferMode bufferMode = DownloadBufferMode.disabled, int? bufferLimit, BaseClient? httpClient}) → Stream< DownloadProgress> - Download a specified DownloadableRegion in the foreground, with a recovery session
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited