MapStructureProvider

@available(*, deprecated, message: "This API is deprecated. It will soon become unavailable and should no longer be used.")
public protocol MapStructureProvider : AnyObject

Provides the methods to observe the onboard map structure.

  • Add observer for the information about the state of the map.

    Note

    The first observer that is added triggers the process of determining the region graph that will be called with once it is determined. If the region graph cannot be determined, an error is returned. In such case, observer will be called when and if the error is resolved.

    Declaration

    Swift

    @available(*, deprecated, message: "Use NDSStore/addRegionGraphObserver instead")
    func addMapStructureObserver(_ observer: MapStructureObserver)

    Parameters

    observer

    The observer to be added.

  • Removes previously registered observer.

    Declaration

    Swift

    @available(*, deprecated, message: "Use NDSStore/removeRegionGraphObserver instead")
    func removeMapStructureObserver(_ observer: MapStructureObserver)

    Parameters

    observer

    The registered observer.