public static final class CameraManager.CamerasInRadiusOptions extends Object
| Constructor and Description |
|---|
CamerasInRadiusOptions(GeoPoint center,
double radius)
Initializes a new instance of
CameraManager.CamerasInRadiusOptions class where the
radius units depends on the user settings. |
| Modifier and Type | Method and Description |
|---|---|
CameraManager.CamerasInRadiusOptions |
setCenter(GeoPoint value)
Sets the center point of the circular region.
|
CameraManager.CamerasInRadiusOptions |
setOutOfServiceCamerasExcluded(boolean value)
Sets a value indicating whether the out-of-service cameras are returned in the result.
|
CameraManager.CamerasInRadiusOptions |
setRadius(double value)
Sets the radius of the circular region.
|
public CamerasInRadiusOptions(GeoPoint center, double radius)
CameraManager.CamerasInRadiusOptions class where the
radius units depends on the user settings.
The units for the radius is either meters or miles depending on
the settings that are set using UserPreferences.center - The center of the region where the traffic cameras are located.radius - The radius of the region where the traffic cameras are located.public CameraManager.CamerasInRadiusOptions setCenter(GeoPoint value)
value - The center of the region in which to get data.CameraManager.CamerasInRadiusOptions class.CameraManager.CamerasManagerException - when the specified center point is invalid.public CameraManager.CamerasInRadiusOptions setRadius(double value)
value - The radius of the circular bounding area from which to
return data.CameraManager.CamerasInRadiusOptions class.CameraManager.CamerasManagerException - when the radius is less than or equal to zero.public CameraManager.CamerasInRadiusOptions setOutOfServiceCamerasExcluded(boolean value)
false.value - true to receive all camera, including out-of-service; false otherwise.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.