SegmentReferenceConverter

public class SegmentReferenceConverter
extension SegmentReferenceConverter: NativeBase
extension SegmentReferenceConverter: Hashable

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

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 and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.