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 classBuildingInfo.BuilderBuilder 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 booleancontainsPoint(Point point)intdescribeContents()BuildinggetBuilding()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 buildingStringtoString()voidwriteToParcel(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:
CollectionofSitumEvent. Can be empty.
-
getFloors
@NonNull public final Collection<Floor> getFloors()
Returns existent floors in the building.- Returns:
CollectionofFloors. Can be empty.
-
getIndoorPOIs
@NonNull public final Collection<Poi> getIndoorPOIs()
Returns points of interest inside the building.- Returns:
CollectionofPoi. Can be empty.
-
getOutdoorPOIs
@NonNull public final Collection<Poi> getOutdoorPOIs()
Returns points of interest outside the building- Returns:
CollectionofSitumEvent. Can be empty.
-
getGeofences
@NonNull public final Collection<Geofence> getGeofences()
Returns the building's geofences- Returns:
CollectionofGeofence. Can be empty.
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
-