ReplayHistoryEventMapper

fun interface ReplayHistoryEventMapper<Event : HistoryEvent>

Mapper that can be used with ReplayHistoryMapper.

This class provides an abstraction for mapping HistoryEvent into ReplayEventBase.

Functions

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.