public static class AlertsManager.ParkingAlertOptions extends Object
Constructor and Description |
---|
ParkingAlertOptions()
Initializes a new instance of the
AlertsManager.ParkingAlertOptions class
with default params. |
ParkingAlertOptions(int radius)
Initializes a new instance of the
AlertsManager.ParkingAlertOptions class
with radius. |
ParkingAlertOptions(int radius,
int maxResultCount,
boolean isRecurring)
Initializes a new instance of the
AlertsManager.ParkingAlertOptions class
with radius and max results count. |
Modifier and Type | Method and Description |
---|---|
AlertsManager.ParkingAlertOptions |
setIsRecurring(boolean value)
Sets whether this
ParkingAlertOptions is a recurring alert or not. |
AlertsManager.ParkingAlertOptions |
setMaxResultCount(int value)
Sets the number of max count of parking results.
|
AlertsManager.ParkingAlertOptions |
setRadius(int value)
Sets the radius of the circular region in which to get parking lot data.
|
AlertsManager.ParkingAlertOptions |
setSpeedFactor(float value)
Sets the speed factor.
|
public ParkingAlertOptions()
AlertsManager.ParkingAlertOptions
class
with default params.public ParkingAlertOptions(int radius)
AlertsManager.ParkingAlertOptions
class
with radius.radius
- The radius. See AlertsManager.ParkingAlertOptions.setRadius(int)
.public ParkingAlertOptions(int radius, int maxResultCount, boolean isRecurring)
AlertsManager.ParkingAlertOptions
class
with radius and max results count.radius
- The radius. See AlertsManager.ParkingAlertOptions.setRadius(int)
.maxResultCount
- The max result count. See AlertsManager.ParkingAlertOptions.setMaxResultCount(int)
.isRecurring
- true
if the alert is recurring, false
otherwise.public AlertsManager.ParkingAlertOptions setSpeedFactor(float value)
value
- The speed factor, which should be positive number.
Default value is AlertsManagerConfig.getSpeedFactor()
.AlertsManager.AlertsManagerException
- Thrown when the speed factor is invalid.public AlertsManager.ParkingAlertOptions setRadius(int value)
value
- The radius of the circular bounding area from which return data.
The units are meters.AlertsManager.ParkingAlertOptions
class.AlertsManager.AlertsManagerException
- when the specified radius value is invalid.public AlertsManager.ParkingAlertOptions setMaxResultCount(int value)
value
- The the number of max count of parking results.AlertsManager.AlertsManagerException
- When the number value is invalid.public AlertsManager.ParkingAlertOptions setIsRecurring(boolean value)
ParkingAlertOptions
is a recurring alert or not.value
- true
if the alert is recurring, false
otherwise.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.