CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
Public Attributes | Static Public Attributes | List of all members
com.cartotype.TrafficInfo Class Reference

Public Attributes

int iVehicleTypes
 
double iSpeed
 

Static Public Attributes

static final double NO_SPEED_LIMIT = 255
 

Detailed Description

Traffic information, normally used in combination with a location reference.

Member Data Documentation

◆ iSpeed

double com.cartotype.TrafficInfo.iSpeed

Permitted or expected speed in kph: NO_SPEED_LIMIT or greater means no speed limit; 0 or less means the route is forbidden.

◆ iVehicleTypes

int com.cartotype.TrafficInfo.iVehicleTypes

Vehicle types affected by this information, taken from the RouteProfile vehicle access flags; use 0 to select all vehicle types.

◆ NO_SPEED_LIMIT

final double com.cartotype.TrafficInfo.NO_SPEED_LIMIT = 255
static

Speeds of this value or greater mean there is no speed limit.


The documentation for this class was generated from the following file: