| Package | com.yahoo.maps.webservices.traffic |
| Class | public class TrafficResponse |
| Property | Defined by | ||
|---|---|---|---|
| error : int [read-only]
A number containing the error code.
| TrafficResponse | ||
| errorMessage : String [read-only]
A string containing the error message
| TrafficResponse | ||
| lastUpdateDate : String [read-only]
A string containing the UNIX timestamp of the latest data update
| TrafficResponse | ||
| lastUpdateDateDisplay : String [read-only]
A string containing the read-able version of the lastUpdateDate.
| TrafficResponse | ||
| locale : String [read-only]
A string containing the locale used in the search.
| TrafficResponse | ||
| provider : String [read-only]
A string containing the name of the traffic data provider for this search.
| TrafficResponse | ||
| results : Array [read-only]
An array of the
TrafficResultItem items. | TrafficResponse | ||
| speed : Object [read-only]
An object containing the current speed data within the bounds of the map.
| TrafficResponse | ||
| timeZone : String [read-only]
A string containing the name of the time zone this location is located in.
| TrafficResponse | ||
| Method | Defined by | ||
|---|---|---|---|
|
TrafficResponse(xml:XML)
Creates a new TrafficResponse object.
| TrafficResponse | ||
| error | property |
error:int [read-only]A number containing the error code.
Implementation public function get error():int
| errorMessage | property |
errorMessage:String [read-only]A string containing the error message
Implementation public function get errorMessage():String
| lastUpdateDate | property |
lastUpdateDate:String [read-only]A string containing the UNIX timestamp of the latest data update
Implementation public function get lastUpdateDate():String
| lastUpdateDateDisplay | property |
lastUpdateDateDisplay:String [read-only]A string containing the read-able version of the lastUpdateDate.
Implementation public function get lastUpdateDateDisplay():String
| locale | property |
locale:String [read-only]A string containing the locale used in the search.
Implementation public function get locale():String
| provider | property |
provider:String [read-only]A string containing the name of the traffic data provider for this search.
Implementation public function get provider():String
| results | property |
results:Array [read-only]
An array of the TrafficResultItem items.
public function get results():Array
| speed | property |
speed:Object [read-only]An object containing the current speed data within the bounds of the map.
Implementation public function get speed():Object
| timeZone | property |
timeZone:String [read-only]A string containing the name of the time zone this location is located in.
Implementation public function get timeZone():String
| TrafficResponse | () | constructor |
public function TrafficResponse(xml:XML)Creates a new TrafficResponse object.
Parametersxml:XML |