Package-level declarations

Includes the interface for the Traffic Data Provider, alongside associated communication status, response data classes, and the callback interface.

Types

Link copied to clipboard

This is the public interface for the Traffic Data Provider in NavSDK. This interface can be passed to other components in NavSDK that work with traffic data.

Link copied to clipboard

Used to inform the caller that the traffic situation has changed.

Link copied to clipboard
abstract class TrafficError

Represents an error raised when something went wrong in the Traffic SDK.

Link copied to clipboard

Callback responsible for reporting when a TrafficEventsResult or corresponding TrafficError is received.

Link copied to clipboard
data class TrafficEventsResult(val trafficEvents: List<TrafficEvent>, val boundingBox: GeoBoundingBox)

Represents the result of a query to get traffic events in an area.