Stay organized with collections Save and categorize content based on your preferences.
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 Method Summary Inherited Method Summary From class java.lang.Object Objectclone()
boolean voidfinalize()
final Class<?>getClass()
inthashCode()
final voidnotify()
final voidnotifyAll()
StringtoString()
final voidwait(long arg0, int arg1)
final voidwait(long arg0)
final voidwait()
Public Methods public boolean equals (Object other)Tests if this IndoorBuilding
is equal to another.
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.
public boolean isUnderground ()Returns true if the building is entirely underground.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["The `IndoorBuilding` class in Google Maps Android API represents a building on a map, including its levels and whether it's underground."],["Two `IndoorBuilding` objects are considered equal if they represent the same physical building, even if their internal data might differ due to updates."],["You can access information about the building's levels, such as the active level, default level, and a list of all levels."],["The `IndoorBuilding` class provides methods for checking equality, getting level information, and determining if the building is underground."]]],["The `IndoorBuilding` class represents a physical building, with equality determined by the building itself, despite potential model updates. Key actions include: checking if two `IndoorBuilding` objects are equal using `.equals()`; retrieving the index of the currently active level with `.getActiveLevelIndex()`; getting the default level's index via `.getDefaultLevelIndex()`; obtaining a list of levels using `.getLevels()`, which are ordered from top to bottom; and verifying if the building is entirely underground with `.isUnderground()`. A hashcode can be generated using `.hashCode()`.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4