OfflineRegionStatus class final

The download progress of an offline region.

See mln_offline_region_status in the C API reference.

Constructors

OfflineRegionStatus({OfflineRegionDownloadState downloadState = const OfflineRegionDownloadState.fromRawValue(0), int completedResourceCount = 0, int completedResourceSize = 0, int completedTileCount = 0, int requiredTileCount = 0, int completedTileSize = 0, int requiredResourceCount = 0, bool requiredResourceCountIsPrecise = false, bool complete = false})
const

Properties

complete → bool
Whether the region has downloaded every resource it needs.
final
completedResourceCount → int
The resources downloaded so far, tiles included.
final
completedResourceSize → int
The size of the downloaded resources in bytes, tiles included.
final
completedTileCount → int
final
completedTileSize → int
The size of the downloaded tiles in bytes.
final
downloadState → OfflineRegionDownloadState
final
hashCode → int
The hash code for this object.
no setterinherited
requiredResourceCount → int
The resources that the region needs, tiles included. Until required_resource_count_is_precise is true, this is only a lower bound.
final
requiredResourceCountIsPrecise → bool
final
requiredTileCount → int
final
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.
override

Operators

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