public class TrafficQuality extends Object
Modifier and Type | Method and Description |
---|---|
int |
getBucket()
Gets the traffic quality bucket, which is a value between 0 and 3.
|
String |
getCityName()
Gets the city name where the traffic is located.
|
Date |
getCollectionTime()
Gets the date and time when the traffic quality information was collected.
|
float |
getDelayTime()
Gets delay time due to traffic, in minutes.
|
String |
getText()
Gets a textual description of the traffic quality.
|
int |
getValue()
Gets traffic quality value, which is a number between 1 and 10 that represents the
overall traffic conditions in the area.
|
String |
toString() |
public final float getDelayTime()
public final int getValue()
public final int getBucket()
Value | Description | Travel Time |
---|---|---|
0 | Stop and go | Greater than 175% of free flow traffic time. |
1 | Heavy | Between 150% and 175% of free flow traffic time. |
2 | Moderate | Between 125% and 150% of free flow traffic time. |
3 | Free flow | Less than 125% of free flow traffic time. |
public final String getText()
null
if information is not available.public final String getCityName()
null
if the information is not available.public final Date getCollectionTime()
null
if the information is not available.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.