|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITrafficProvider
Provides access to traffic provider.
ITrafficProvider is used to return enumerators over traffic speed and incident data.
Method Summary | |
---|---|
IEnumTrafficRegionIncidents |
getIncidentsData(IArray pRegions,
ITrafficProviderCredentials pProviderCredentials)
Retrieves enumerator for incident data sequence for the specified task. |
IFields |
getIncidentsFeatureClassFields()
Retrieves fields for incident feature class. |
IEnumTrafficRegionSpeeds |
getSpeedsData(int predictionDepthInMinutes,
IArray pRegions,
ITrafficProviderCredentials pProviderCredentials)
Retrieves enumerator for traffic data sequence for the specified task. |
Method Detail |
---|
IEnumTrafficRegionSpeeds getSpeedsData(int predictionDepthInMinutes, IArray pRegions, ITrafficProviderCredentials pProviderCredentials) throws IOException, AutomationException
Based on an array of objects implementing ITrafficRegion, an object implementing ITrafficProviderCredentials, and a prediction depth cutoff value, GetSpeedsData returns an enumerator of traffic speed entries by region.
predictionDepthInMinutes
- The predictionDepthInMinutes (in)pRegions
- A reference to a com.esri.arcgis.system.IArray (in)pProviderCredentials
- A reference to a com.esri.arcgis.networkanalyst.ITrafficProviderCredentials (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumTrafficRegionIncidents getIncidentsData(IArray pRegions, ITrafficProviderCredentials pProviderCredentials) throws IOException, AutomationException
Based on an array of objects implementing ITrafficRegion and an object implementing ITrafficProviderCredentials, GetIncidentsData returns an enumerator of traffic incident entries by region.
pRegions
- A reference to a com.esri.arcgis.system.IArray (in)pProviderCredentials
- A reference to a com.esri.arcgis.networkanalyst.ITrafficProviderCredentials (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFields getIncidentsFeatureClassFields() throws IOException, AutomationException
Incident data is placed in an output feature class. GetIncidentsFeatureClassFields specifies the schema for the output class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |