SegmentReferenceConverter

public class SegmentReferenceConverter
extension SegmentReferenceConverter: NativeBase
extension SegmentReferenceConverter: Hashable

A SegmentReferenceConverter provides possibility to convert mapmatched instances of SegmentReference to corresponding instances of DirectedOCMSegmentId.

Note: Loading map data can be time-consuming, so SegmentReferenceConverter can be used in a background thread to avoid blocking the main thread. However, this class is not thread-safe, and each instance should be used exclusively by a single thread.

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.