Class PlacemarksRequest.Builder
java.lang.Object
com.arubanetworks.meridian.requests.MeridianRequest.LocationsAPIBuilder
com.arubanetworks.meridian.requests.PlacemarksRequest.Builder
- Enclosing class:
- PlacemarksRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected final EditorKey
protected Uri.Builder
setCategoryIds
(String... categoryIds) setCategoryIds
(List<String> categoryIds) setCustom1
(String custom) setCustom2
(String custom) setCustom3
(String custom) setCustom4
(String custom) setErrorListener
(MeridianRequest.ErrorListener errorListener) setHideOnMap
(boolean showOnlyHiddenPlacemarks) setHideOnMap - adds filter for placemark’s show on map field.setListener
(MeridianRequest.PageListener<List<Placemark>> listener) Sets the location and map to get placemarks forsetRelatedMap
(String relatedMap) setRelatedMap - adds filter for placemarks which have “Leads to Floor” setsetTypeCategory
(String typeCategory)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setAppKey
-
setMapKey
Sets the location and map to get placemarks for- Parameters:
mapKey
- Editor key of the map whose placemarks will be returned- Returns:
- builder
-
setCategoryIds
-
setCategoryIds
-
setCustom1
-
setCustom2
-
setCustom3
-
setCustom4
-
setFilterFacilities
-
setHideOnMap
setHideOnMap - adds filter for placemark’s show on map field.Do not set this to get all placemarks
- Parameters:
showOnlyHiddenPlacemarks
-- if true, only hidden placemarks will be returned if false, only placemarks marked “show on map” will be returned
-
setRelatedMap
setRelatedMap - adds filter for placemarks which have “Leads to Floor” set- Parameters:
relatedMap
-- the map id of the related map
-
setType
-
setTypeCategory
-
setListener
public PlacemarksRequest.Builder setListener(MeridianRequest.PageListener<List<Placemark>> listener) -
setErrorListener
-
getUriBuilder
- Overrides:
getUriBuilder
in classMeridianRequest.LocationsAPIBuilder
-
build
-
getAppKey
-