DownloadRegionsStatusListener class abstract
Abstract class to get notified on status updates when downloading map regions.
Constructors
-
DownloadRegionsStatusListener(void onDownloadRegionsCompleteLambda(MapLoaderError?, List<
RegionId> ?), void onProgressLambda(RegionId, int), void onPauseLambda(MapLoaderError?), void onResumeLambda()) -
Abstract class to get notified on
status updates when downloading map regions.
factory
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
-
onDownloadRegionsComplete(
MapLoaderError? error, List< RegionId> ? regions) → void - Called after the download for all requested regions has been completed with success or failure.
-
onPause(
MapLoaderError? error) → void - Called when download is paused.
-
onProgress(
RegionId region, int percentage) → void - Called multiple times to indicate the download progress for each requested region individually.
-
onResume(
) → void - Called when paused download is resumed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited