CalloutHistory

class CalloutHistory(expiryPeriod: Long = 60000)

Constructors

Link copied to clipboard
constructor(expiryPeriod: Long = 60000)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun add(callout: TrackedCallout)
Link copied to clipboard

checkAndAdd checks the history to see if a callout already exists. If it does it returns false, otherwise it adds it and returns true.

Link copied to clipboard
fun find(callout: TrackedCallout): Boolean
Link copied to clipboard
fun size(): Int
Link copied to clipboard
fun trim(location: LngLatAlt)