RegionGraphChangeEvent

public enum RegionGraphChangeEvent

Event types for RegionGraphObserver.onRegionGraphChanged notification.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • An error occurred during the creation of the StructureData.

    Declaration

    Swift

    case error(ErrorData)
  • Payload for RegionGraphChangeEvent.error event.

    See more

    Declaration

    Swift

    public struct ErrorData
  • Indicates that the state of at least one RegionGraphNode has changed.

    Declaration

    Swift

    case nodesStateChanged(NodesStateData)
  • Payload for RegionGraphChangeEvent.nodesStateChanged event.

    Important

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

    Declaration

    Swift

    public struct NodesStateData
  • Indicate that the structure of the map has changed.

    This event is initially sent when an observer is registered, and subsequently after every change to the structure of the map.

    Declaration

    Swift

    case structureChanged(StructureData)
  • Payload for RegionGraphChangeEvent.structureChanged event.

    Important

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

    Declaration

    Swift

    public struct StructureData