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)
-
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)
-
Indicates that the state of at least one
RegionGraphNode
has changed.Declaration
Swift
case nodesStateChanged(NodesStateData)
-
Payload for
See moreRegionGraphChangeEvent.error
event.Declaration
Swift
public struct ErrorData
-
Payload for
RegionGraphChangeEvent.structureChanged
event.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct StructureData
-
Payload for
RegionGraphChangeEvent.nodesStateChanged
event.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct NodesStateData