Package-level declarations

Types

Link copied to clipboard

Class representing a road camera on the Mapbox platform.

Link copied to clipboard

Enum class representing the type of road cameras on the Mapbox platform.

Link copied to clipboard
Link copied to clipboard

Observer interface for upcoming road cameras.

Properties

Link copied to clipboard

Extension property to get the speed limit enforced by the road camera in kilometers per hour (km/h).

Link copied to clipboard

Extension property to get the speed limit enforced by the road camera in miles per hour (mph).

Link copied to clipboard

Extension property to get the travel time to the road camera in seconds.

Functions

Link copied to clipboard

Collects upcoming cameras by registering the provided observer. The observer will be automatically unregistered when the coroutine is cancelled.