public final class Space extends Area
Venue (building), for example a shop in a
shopping mall. When the VenueMapFragment is used, the Space is interactive and
the application user can tap on it.| Modifier and Type | Class and Description |
|---|---|
static class |
Space.SpaceType
This enumeration defines identifiers for space types.
|
| Modifier and Type | Method and Description |
|---|---|
Content |
getContent()
This method obtains the
Content object associated with the given Space
instance. |
int |
getFloorNumber()
This method retrieves the floor number assigned to the given
Level. |
java.lang.String |
getFloorSynonym()
This method retrieves the floor synonym, for example: 1, B, P1, MEZZ etc.
|
android.graphics.Bitmap |
getIcon(android.content.Context context)
This method obtains the icon used to indicate the given space on the map.
|
java.lang.String |
getIconUri()
Gets the
String representation of the URI for a Space.getIcon(Context). |
Space.SpaceType |
getType()
This method obtains the space type assigned to the given object.
|
java.lang.String |
getVenueName()
This method obtains the name of the
Venue in which the given space is located. |
getBoundingBox, getCenter, getName, getPolygonequals, getId, hashCodepublic Content getContent()
Content object associated with the given Space
instance.Space instance.public int getFloorNumber()
Level. Note that 0
(zero) indicates the ground floor, negative values indicate underground floors and positive
values indicate floors above ground level.public java.lang.String getFloorSynonym()
public java.lang.String getVenueName()
Venue in which the given space is located.public Space.SpaceType getType()
Space.SpaceType.public android.graphics.Bitmap getIcon(android.content.Context context)
context - An object representing the context of the application.Bitmap object representing the icon or null if the Space
does not use an icon.public java.lang.String getIconUri()
String representation of the URI for a Space.getIcon(Context).Space's icon. Returns an empty string, if the
Space doesn't have any icon.