Package-level declarations

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

Indicates the type of a traffic data source.

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.

Link copied to clipboard
class TrafficStatus(val activeDataSource: TrafficDataSourceType? = null, val trafficDataAvailable: Boolean = false, val supportsArbitraryLocations: Boolean = false)

Representation of the current status of the traffic service in NavSDK.

Link copied to clipboard

Used to inform the caller that the status of the traffic service has changed.