ReplayHistoryMapper

class ReplayHistoryMapper

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

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
mapToReplayEvent
Link copied to clipboard
fun mapToReplayEvent(historyEvent: HistoryEvent): ReplayEventBase?
Given HistoryEvent map to ReplayEventBase that can be replayed using MapboxReplayerUse the MapboxHistoryReader in order to read the event from a file.
toBuilder
Link copied to clipboard
fun toBuilder(): ReplayHistoryMapper.Builder
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.