public static final class GasStationManager.GasStationsBoxOptions extends Object
Constructor and Description |
---|
GasStationsBoxOptions(GeoPoint corner1,
GeoPoint corner2)
Initializes a new instance of the
GasStationManager.GasStationsBoxOptions
class with the two corners of the rectangular region. |
GasStationsBoxOptions(GeoPoint corner1,
GeoPoint corner2,
int outputFields,
int productTypes)
Initializes a new instance of the
GasStationManager.GasStationsBoxOptions
class with the two corners of the rectangular region plus output fields and
product types. |
Modifier and Type | Method and Description |
---|---|
GasStationManager.GasStationsBoxOptions |
setCorner1(GeoPoint value)
Sets the first corner of the region.
|
GasStationManager.GasStationsBoxOptions |
setCorner2(GeoPoint value)
Sets the second corner of the region, which is diagonally opposite the first corner.
|
GasStationManager.GasStationsBoxOptions |
setOutputFields(int value)
Sets the output fields to return.
|
GasStationManager.GasStationsBoxOptions |
setProductTypes(int value)
Sets the product types to be returned.
|
String |
toString() |
public GasStationsBoxOptions(GeoPoint corner1, GeoPoint corner2)
GasStationManager.GasStationsBoxOptions
class with the two corners of the rectangular region.corner1
- The first corner of the region in which to get data.corner2
- The second corner of the region in which to get data, which
diagonally opposed corner1.GasStationManager.GasStationManagerException
- Thrown when corner1
or corner2
is invalid.public GasStationsBoxOptions(GeoPoint corner1, GeoPoint corner2, int outputFields, int productTypes)
GasStationManager.GasStationsBoxOptions
class with the two corners of the rectangular region plus output fields and
product types.corner1
- The first corner of the region in which to get data.corner2
- The second corner of the region in which to get data, which
diagonally opposed corner1.outputFields
- The output options to return. Can be multiple options.productTypes
- The product types to return. Can be multiple types.GasStationManager.GasStationManagerException
- when corner1
or corner2
is invalid.public GasStationManager.GasStationsBoxOptions setOutputFields(int value)
value
- The output fields. Can be multiple fields.public GasStationManager.GasStationsBoxOptions setProductTypes(int value)
value
- The product types. Can be multiple product types.public GasStationManager.GasStationsBoxOptions setCorner1(GeoPoint value)
value
- The first corner of the region in which to get data.GasStationManager.GasStationsBoxOptions
class.GasStationManager.GasStationManagerException
- when value is not a valid corner position.public GasStationManager.GasStationsBoxOptions setCorner2(GeoPoint value)
value
- The second corner of the region in which to get data.GasStationManager.GasStationsBoxOptions
class.GasStationManager.GasStationManagerException
- when value is not a valid corner position.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.