MapboxHistoryReader

class MapboxHistoryReader(val filePath: String) : Iterator<HistoryEvent>

Allows you to read history files previously saved by MapboxHistoryRecorder. All files in the MapboxHistoryRecorder.fileDirectory can be read with this reader.

Parameters

filePath

absolute path to a file containing the native history file.

Constructors

Link copied to clipboard
fun MapboxHistoryReader(filePath: String)

Functions

Link copied to clipboard
open fun forEachRemaining(p0: Consumer<in HistoryEvent>)
Link copied to clipboard
open operator override fun hasNext(): Boolean

Returns true if the iteration has more elements.

Link copied to clipboard
open operator override fun next(): HistoryEvent

Returns the next element in the iteration.

Properties

Link copied to clipboard
val filePath: String