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

Types

CustomEventMapper
Link copied to clipboard
interface CustomEventMapper
Additional mapper that can be used with ReplayHistoryMapper.
ReplayEventBase
Link copied to clipboard
interface ReplayEventBase
Base interface event for ReplayEvent
ReplayEventGetStatus
Link copied to clipboard
data class ReplayEventGetStatus(eventTimestamp: Double) : ReplayEventBase
The getStatus event from history.
ReplayEventLocation
Link copied to clipboard
data class ReplayEventLocation(lon: Double, lat: Double, provider: String?, time: Double?, altitude: Double?, accuracyHorizontal: Double?, bearing: Double?, speed: Double?)
Location data for replaying position
ReplayEvents
Link copied to clipboard
data class ReplayEvents(events: MutableList<ReplayEventBase>)
Replay event that mapped from ReplayHistoryDTO or created on your own.
ReplayEventsObserver
Link copied to clipboard
interface ReplayEventsObserver
Used to observe events replayed by the MapboxReplayer
ReplayEventUpdateLocation
Link copied to clipboard
data class ReplayEventUpdateLocation(eventTimestamp: Double, location: ReplayEventLocation) : ReplayEventBase
Location event for replaying device GPS and Fused locations providers
ReplayHistoryDTO
Link copied to clipboard
data class ReplayHistoryDTO(historyVersion: String, version: String, events: List<Any>)
Data representation of the string given by MapboxNavigation.retrieveHistory.
ReplayHistoryMapper
Link copied to clipboard
class ReplayHistoryMapper @JvmOverloads() constructor(customEventMapper: CustomEventMapper?, logger: Logger?)
This class is responsible for creating ReplayEvents from history data.