Traveler Information API
 All Classes Functions Variables Properties Pages
Public Member Functions | List of all members
HighwayCameras Class Reference

Coverage Area: Statewide. Provides access to the camera images that appear on our Traffic pages. Currently only supports snap shots (not full video). More...

Inheritance diagram for HighwayCameras:
IHighwayCameras

Public Member Functions

Camera[] GetCameras (string AccessCode)
 Retrieves all Traffic Cameras. More...
 
System.Data.DataSet GetCamerasAsDataSet (string AccessCode)
 Retrieves all Traffic Cameras. More...
 
Camera[] SearchCameras (string AccessCode, string StateRoute, string Region, double?StartingMilepost, double?EndingMilepost)
 Searches for cameras that match a specific criteria. More...
 
Camera GetCamera (string AccessCode, int CameraID)
 Returns a single specific camera. More...
 

Detailed Description

Coverage Area: Statewide. Provides access to the camera images that appear on our Traffic pages. Currently only supports snap shots (not full video).

Member Function Documentation

Camera HighwayCameras.GetCamera ( string  AccessCode,
int  CameraID 
)
inline

Returns a single specific camera.

Parameters
AccessCodeYour Traveler API Access Code.
CameraIDAn ID of a specific camera.
Returns
Camera

Implements IHighwayCameras.

Camera [] HighwayCameras.GetCameras ( string  AccessCode)
inline

Retrieves all Traffic Cameras.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
Camera array

Implements IHighwayCameras.

System.Data.DataSet HighwayCameras.GetCamerasAsDataSet ( string  AccessCode)
inline

Retrieves all Traffic Cameras.

Parameters
AccessCodeYour Traveler API Access Code.
Returns
dataset

Implements IHighwayCameras.

Camera [] HighwayCameras.SearchCameras ( string  AccessCode,
string  StateRoute,
string  Region,
double?  StartingMilepost,
double?  EndingMilepost 
)
inline

Searches for cameras that match a specific criteria.

Parameters
AccessCodeYour Traveler API Access Code.
StateRouteThe state route of the camera.
RegionThe region of the camera. Call 'GetCameras' to get a list of valid options.
StartingMilepostStarting milepost.
EndingMilepostEnding Milepost.
Returns
Camera[]

Implements IHighwayCameras.