public class

MapOverlayRepositoryImpl

extends Object
implements MapOverlayRepository
java.lang.Object
   ↳ com.mapsted.map.map_overlay.datasource.MapOverlayRepositoryImpl

Summary

Public Constructors
MapOverlayRepositoryImpl(CoreApi coreApi, Context context)
Public Methods
void getFloorMapOverlays(int propertyId, int buildingId, int floorId, MapApi.MapOverlayRepositoryCallback callback)
Get the map overlays associated with the given floor
void getPropertyMapOverlays(String query, int propertyId, MapApi.MapOverlayRepositoryCallback callback)
Get filtered list of map overlays associated with the given property
void getPropertyMapOverlays(int propertyId, MapApi.MapOverlayRepositoryCallback callback)
Get the map overlays associated with the given property
void onDestroy()
Called when desired to destroy the repo
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.map.map_overlay.datasource.MapOverlayRepository

Public Constructors

public MapOverlayRepositoryImpl (CoreApi coreApi, Context context)

Public Methods

public void getFloorMapOverlays (int propertyId, int buildingId, int floorId, MapApi.MapOverlayRepositoryCallback callback)

Get the map overlays associated with the given floor

Parameters
propertyId the property
buildingId the building
floorId the floor
callback callback when results are available

public void getPropertyMapOverlays (String query, int propertyId, MapApi.MapOverlayRepositoryCallback callback)

Get filtered list of map overlays associated with the given property

Parameters
query the search query
propertyId the property
callback callback when results are available

public void getPropertyMapOverlays (int propertyId, MapApi.MapOverlayRepositoryCallback callback)

Get the map overlays associated with the given property

Parameters
propertyId the property
callback callback when results are available

public void onDestroy ()

Called when desired to destroy the repo