RegionGraphListener

Listener for changes to the NDS map state. The map state is represented as a graph of regions.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard

Called to provide updated map region states.

Link copied to clipboard
abstract fun onRegionGraphChanged(regionGraphResult: Result<RegionGraph, MapUpdateError>, mapRegionStates: Map<RegionGraphNodeId, RegionGraphNodeState>)

Called to provide the region graph and subsequent updates to it.