public class ParkingManager extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ParkingManager.IParkingBlockResponseListener
Response listener for retrieving information on a single parking block.
|
static interface |
ParkingManager.IParkingInfoResponseListener
Response listener for retrieving parking information.
|
static interface |
ParkingManager.IParkingLotResponseListener
Response listener for retrieving information on a single parking lot.
|
static class |
ParkingManager.ParkingBlockInfoOptions
Contains options that specify how to retrieve parking lot information.
|
static class |
ParkingManager.ParkingBoxOptions
Contains options that specify how to retrieve which parking lots are
in a rectangular region.
|
static class |
ParkingManager.ParkingLotInfoOptions
Contains options that specify how to retrieve parking lot information.
|
static class |
ParkingManager.ParkingManagerException
An exception that is thrown when there is an error with an
ParkingManager operation. |
static class |
ParkingManager.ParkingRadiusOptions
Contains options that specify how to retrieve which parking lots are in a circular region.
|
static interface |
ParkingManager.ParkingTypes
Parking type
IntDef annotation. |
Modifier and Type | Field and Description |
---|---|
static int |
PARKING_OUTPUT_FIELD_ALL
All available information about the parking lot.
|
static int |
PARKING_OUTPUT_FIELD_BASIC
Indicates basic information about the parking lot.
|
static int |
PARKING_OUTPUT_FIELD_DYNAMIC
Indicates the dynamic parking lot fill rate.
|
static int |
PARKING_OUTPUT_FIELD_GEOMETRY
Indicates the geometry of the parking lot.
|
static int |
PARKING_OUTPUT_FIELD_PRICING
Indicates the pricing information for the parking lots.
|
static int |
PARKING_OUTPUT_FIELD_STATIC
Same as
ParkingManager.PARKING_OUTPUT_FIELD_VALUE_BASIC , with additional information. |
static int |
PARKING_TYPE_PARKING_BLOCK
On-street parking.
|
static int |
PARKING_TYPE_PARKING_LOT
Off-street parking.
|
Modifier and Type | Method and Description |
---|---|
ParkingConfig |
getConfiguration()
Gets the
ParkingManager configuration. |
ICancellable |
getParkingBlockInformation(ParkingManager.ParkingBlockInfoOptions options,
ParkingManager.IParkingBlockResponseListener listener)
Gets information about parking block with specified ID.
|
ICancellable |
getParkingInfoInBox(ParkingManager.ParkingBoxOptions options,
ParkingManager.IParkingInfoResponseListener listener)
Gets parking within a rectangular region.
|
ICancellable |
getParkingInfoInRadius(ParkingManager.ParkingRadiusOptions options,
ParkingManager.IParkingInfoResponseListener listener)
Gets parking within a circular region.
|
ICancellable |
getParkingLotInformation(ParkingManager.ParkingLotInfoOptions options,
ParkingManager.IParkingLotResponseListener listener)
Gets information about parking lot with specified ID.
|
boolean |
showParkingLots(float zoom)
Gets the value indicating whether to show parking lots on the specified zoom level.
|
public static final int PARKING_OUTPUT_FIELD_BASIC
public static final int PARKING_OUTPUT_FIELD_PRICING
public static final int PARKING_OUTPUT_FIELD_GEOMETRY
public static final int PARKING_OUTPUT_FIELD_DYNAMIC
public static final int PARKING_OUTPUT_FIELD_STATIC
ParkingManager.PARKING_OUTPUT_FIELD_VALUE_BASIC
, with additional information. Constant value: 16 .public static final int PARKING_OUTPUT_FIELD_ALL
public static final int PARKING_TYPE_PARKING_LOT
public static final int PARKING_TYPE_PARKING_BLOCK
public ParkingConfig getConfiguration()
ParkingManager
configuration.ParkingConfig
.public final boolean showParkingLots(float zoom)
zoom
- Target zoom level.public ICancellable getParkingInfoInRadius(ParkingManager.ParkingRadiusOptions options, ParkingManager.IParkingInfoResponseListener listener)
options
- Information that specifies center, radius, and other criteria
for which parking are returned.listener
- The listener that will receive the response.ICancellable
so that the request can be cancelled.public ICancellable getParkingInfoInBox(ParkingManager.ParkingBoxOptions options, ParkingManager.IParkingInfoResponseListener listener)
options
- Information that specifies the corners of the bounding rectangle
and other criteria for which parking are returned.listener
- The listener that will receive the response.ICancellable
so that the request can be cancelled.public final ICancellable getParkingLotInformation(ParkingManager.ParkingLotInfoOptions options, ParkingManager.IParkingLotResponseListener listener)
options
- Information that specifies which parking lot for which to return information.listener
- The listener that will receive the response.ICancellable
so that the request can be cancelled.ParkingManager.ParkingManagerException
- when either options or listener is null.public final ICancellable getParkingBlockInformation(ParkingManager.ParkingBlockInfoOptions options, ParkingManager.IParkingBlockResponseListener listener)
options
- Information that specifies which parking lots for which to return information.listener
- The listener that will receive the response.ICancellable
so that the request can be cancelled.ParkingManager.ParkingManagerException
- when either options or listener is null.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.