ReplayHistoryEventMapper

fun fun interface ReplayHistoryEventMapper<Event : HistoryEvent>

Mapper that can be used with ReplayHistoryMapper.

This class provides an abstraction for mapping HistoryEvent into ReplayEventBase.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
map
Link copied to clipboard
abstract fun map(event: Event): ReplayEventBase?
Override to map your own custom events from history files into ReplayEventBase for the MapboxReplayer.
toString
Link copied to clipboard
open fun toString(): String