java.lang.Object | |
↳ | com.google.android.gms.maps.model.IndoorBuilding |
Represents a building.
Two IndoorBuildings are .equal() if the physical building they represent is the same. However, if a building's structural model changes, e.g., due to an update to Google's building models, then an old IndoorBuilding object and a new IndoorBuilding object will be .equal(), but might have different contents.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the index in the list returned by
getLevels() of the level that is currently
active in this building (default if no active level was previously set).
| |||||||||||
Gets the index in the list returned by
getLevels() of the default level for this
building.
| |||||||||||
Gets the levels in the building.
| |||||||||||
Returns true if the building is entirely underground.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets the index in the list returned by getLevels()
of the level that is currently
active in this building (default if no active level was previously set).
Gets the index in the list returned by getLevels()
of the default level for this
building.
Gets the levels in the building. While a level is usually enclosed by a single building, a level might be enclosed by several buildings (e.g., a carpark level might span multiple buildings). The levels are in 'display order' from top to bottom.
Returns true if the building is entirely underground.