Package es.situm.sdk.model.cartography
Class BuildingInfo
- java.lang.Object
-
- es.situm.sdk.model.cartography.BuildingInfo
-
- All Implemented Interfaces:
android.os.Parcelable
public class BuildingInfo extends Object implements android.os.Parcelable
A building and its dependencies: floors, POIs and events
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildingInfo.Builder
Builder to create an instance of BuildingInfo
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<BuildingInfo>
CREATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsPoint(Point point)
int
describeContents()
Building
getBuilding()
Returns the building, without dependencies.Collection<SitumEvent>
getEvents()
Returns registered events in the building.Collection<Floor>
getFloors()
Returns existent floors in the building.Collection<Geofence>
getGeofences()
Returns the building's geofencesCollection<Poi>
getIndoorPOIs()
Returns points of interest inside the building.Collection<Poi>
getOutdoorPOIs()
Returns points of interest outside the buildingString
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<BuildingInfo> CREATOR
-
-
Method Detail
-
getBuilding
@NonNull public final Building getBuilding()
Returns the building, without dependencies.
-
containsPoint
public boolean containsPoint(Point point)
-
getEvents
@NonNull public final Collection<SitumEvent> getEvents()
Returns registered events in the building.- Returns:
Collection
ofSitumEvent
. Can be empty.
-
getFloors
@NonNull public final Collection<Floor> getFloors()
Returns existent floors in the building.- Returns:
Collection
ofFloor
s. Can be empty.
-
getIndoorPOIs
@NonNull public final Collection<Poi> getIndoorPOIs()
Returns points of interest inside the building.- Returns:
Collection
ofPoi
. Can be empty.
-
getOutdoorPOIs
@NonNull public final Collection<Poi> getOutdoorPOIs()
Returns points of interest outside the building- Returns:
Collection
ofSitumEvent
. Can be empty.
-
getGeofences
@NonNull public final Collection<Geofence> getGeofences()
Returns the building's geofences- Returns:
Collection
ofGeofence
. Can be empty.
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-