CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
Public Attributes | Static Public Attributes | List of all members
com.cartotype.TrafficInfo Class Reference

Public Attributes

int vehicleTypes
 
double speed
 

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

◆ 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.

◆ speed

double com.cartotype.TrafficInfo.speed

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

◆ vehicleTypes

int com.cartotype.TrafficInfo.vehicleTypes

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


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