ElectronicHorizonSegmentId
public struct ElectronicHorizonSegmentId : Hashable
Identifies a segment in an ElectronicHorizonPath.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
The directed OCM segment identifier. This value can be
nilif a route was built on a different version of the map and the route spans do not match any OCM segments. In this case, onlyElectronicHorizonSegmentId.segmentReferenceis provided.Declaration
Swift
public var ocmSegmentId: DirectedOCMSegmentId? -
The segment reference, which is provided when a segment matches the route spans. In other cases, this value is
nil.Declaration
Swift
public var segmentReference: SegmentReference? -
Creates a new instance.
Offline availability: This property is available online and offline.
Declaration
Swift
public init(ocmSegmentId: DirectedOCMSegmentId? = nil, segmentReference: SegmentReference? = nil)