RegionGraphListener

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface RegionGraphListener

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

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.