E Horizon Observer
interface EHorizonObserver
Content copied to clipboard
Electronic horizon listener. Callbacks are fired in the order specified. onPositionUpdated might be called multiple times after the other callbacks until a new change to the horizon occurs.
NOTE: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
Functions
onPositionUpdated
Link copied to clipboard
abstract fun onPositionUpdated(position: EHorizonPosition, distances: List<RoadObjectDistanceInfo>)
Content copied to clipboard
onRoadObjectAdded
Link copied to clipboard
onRoadObjectEnter
Link copied to clipboard
abstract fun onRoadObjectEnter(objectEnterExitInfo: RoadObjectEnterExitInfo)
Content copied to clipboard
onRoadObjectExit
Link copied to clipboard
abstract fun onRoadObjectExit(objectEnterExitInfo: RoadObjectEnterExitInfo)
Content copied to clipboard
onRoadObjectPassed
Link copied to clipboard
onRoadObjectRemoved
Link copied to clipboard
onRoadObjectUpdated
Link copied to clipboard