Class IAVenue
- java.lang.Object
-
- com.indooratlas.android.sdk.resources.IAVenue
-
- All Implemented Interfaces:
Parcelable
public class IAVenue extends Object implements Parcelable
Represents a venue in IndoorAtlas system
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.CreatorCREATOR-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIAVenue(Parcel in)Do not use this directlyIAVenue(String name, String id, List<IAFloorPlan> floorPlans)Deprecated.IAVenue(String name, String id, List<IAFloorPlan> floorPlans, List<IAGeofence> geofences, List<IAPOI> pois)Constructs IAVenue based on parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()booleanequals(Object o)List<IAFloorPlan>getFloorPlans()Return the list of mapped floorplans this venue has.List<IAGeofence>getGeofences()Return the list of cloud geofences this venue has NOTE: geofences are not included via IALocation.getRegion() call.StringgetId()Return the ID of the venueStringgetName()Return the name of the venueList<IAPOI>getPOIs()Return the list of POIs this venue has.inthashCode()StringtoString()voidwriteToParcel(Parcel out, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator CREATOR
-
-
Constructor Detail
-
IAVenue
public IAVenue(String name, String id, List<IAFloorPlan> floorPlans, List<IAGeofence> geofences, List<IAPOI> pois)
Constructs IAVenue based on parameters- Parameters:
name- Name of the venueid- ID of the venue in IndoorAtlas developer consolefloorPlans- Mapped floors that the venue hasgeofences- Cloud geofences in the venuepois- Points of Interest in the venue
-
IAVenue
@Deprecated public IAVenue(String name, String id, List<IAFloorPlan> floorPlans)
Deprecated.Constructs IAVenue based on parameters, without any POIs or geofences- Parameters:
name- Name of the venueid- ID of the venue in IndoorAtlas developer consolefloorPlans- Mapped floors that the venue has
-
IAVenue
protected IAVenue(Parcel in)
Do not use this directly
-
-
Method Detail
-
getId
public String getId()
Return the ID of the venue
-
getName
public String getName()
Return the name of the venue
-
getFloorPlans
public List<IAFloorPlan> getFloorPlans()
Return the list of mapped floorplans this venue has. NOTE: floor plans are not included via IALocation.getRegion() call.
-
getGeofences
public List<IAGeofence> getGeofences()
Return the list of cloud geofences this venue has NOTE: geofences are not included via IALocation.getRegion() call.
-
getPOIs
public List<IAPOI> getPOIs()
Return the list of POIs this venue has. NOTE: POIS are not included via IALocation.getRegion() call.
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel out, int flags)
- Specified by:
writeToParcelin interfaceParcelable
-
-