Package com.mapbox.navigation.core.replay.history

Types

Link copied to clipboard
interface ReplayEventBase

Base interface event for ReplayEvent.

Link copied to clipboard
data class ReplayEventGetStatus(val eventTimestamp: Double) : ReplayEventBase

The getStatus event from history. This may be deprecated soon but can be useful for comparing versions.

Link copied to clipboard
data class ReplayEventLocation(    val lon: Double,     val lat: Double,     val provider: String?,     val time: Double?,     val altitude: Double?,     val accuracyHorizontal: Double?,     val bearing: Double?,     val speed: Double?)

Location data for replaying position.

Link copied to clipboard
data class ReplayEvents(val events: MutableList<ReplayEventBase>)

Replay event that mapped from ReplayHistoryMapper or created on your own. Override this to support new or custom events. Each event can be replayed by the MapboxReplayer.

Link copied to clipboard
fun interface ReplayEventsObserver

Used to observe events replayed by the MapboxReplayer

Link copied to clipboard
data class ReplayEventUpdateLocation(val eventTimestamp: Double, val location: ReplayEventLocation) : ReplayEventBase

Location event for replaying device GPS and Fused locations providers

Link copied to clipboard
fun interface ReplayHistoryEventMapper<Event : HistoryEvent>

Mapper that can be used with ReplayHistoryMapper.

Link copied to clipboard
class ReplayHistoryMapper

Mapper used to convert MapboxHistoryReader events into events replayable by the MapboxReplayer. Record navigation history data using the MapboxHistoryRecorder.

Link copied to clipboard
class ReplayHistorySession : MapboxNavigationObserver

Testing and previewing the navigation experience is an important part of building with the Navigation SDK. You can use the SDK's replay functionality to go back in time and replay real experiences.

Link copied to clipboard
class ReplayHistorySessionOptions

Options to use with the ReplayHistorySession.

Link copied to clipboard
class ReplaySetNavigationRoute : ReplayEventBase

Route data for replaying when a route is set.

Link copied to clipboard
data class ReplaySetRoute(val eventTimestamp: Double, val route: DirectionsRoute?) : ReplayEventBase

Route data for replaying when a route is set.