Package-level declarations

Types

Link copied to clipboard

Actions to take regarding partially downloaded data of a region.

Link copied to clipboard
class Region(val id: Region.Id, val name: String, val children: Set<Region>)

A geographic region in the map.

Link copied to clipboard
class RegionDataInfo(val dataSize: Memory, val creationTime: ZonedDateTime)

Information about the installed Region data.

Link copied to clipboard

Listener for changes to the region structure, region states, and region operations.

Link copied to clipboard

The installation state of an updatable Region.

Link copied to clipboard
class RegionOperation(val regionId: Region.Id, val type: RegionOperation.Type, val source: RegionOperation.Source)

Represents an operation that can be performed on a Region.

Link copied to clipboard
abstract class RegionOperationStatus

Represents a change in the execution state of a RegionOperation.

Link copied to clipboard

Callback that reports when a set of Region.Id or MapUpdateError is received for a region query.

Link copied to clipboard

Callback that reports when a Memory size or MapUpdateError is received for a region size calculation.

Link copied to clipboard
class RegionState(val installState: RegionInstallState, val updateState: RegionUpdateState?, val dataInfo: RegionDataInfo?)

The state of an updatable Region.

Link copied to clipboard
class RegionStateInfo(val regionStates: Map<Region.Id, RegionState>)

A data structure that contains RegionState information for multiple regions.

Link copied to clipboard
class RegionStructure(val roots: Set<Region>, val regionStates: Map<Region.Id, RegionState>)

Hierarchical structure of the offline map regions.

Link copied to clipboard

API for updating map regions and listening to region state changes.

Link copied to clipboard
class RegionUpdateState(val downloadAvailable: Boolean, val downloadSize: Memory)

The update state of an updatable Region.