AI-generated Key Takeaways
- 
          GMSIndoorBuildingobjects represent buildings with multiple levels, organized in a specific display order.
- 
          The levelsproperty provides access to an array ofGMSIndoorLevelobjects, representing the building's floors.
- 
          defaultLevelIndexindicates the index of the default level within thelevelsarray.
- 
          The undergroundproperty, if true, signifies the building is entirely underground and can be hidden.
- 
          Direct initialization of GMSIndoorBuildingis unavailable; it's likely obtained from other Google Maps SDK objects.
GMSIndoorBuilding
@interface GMSIndoorBuilding : NSObjectDescribes a building which contains levels.
- 
                  
                  Array of GMSIndoorLevel describing the levels which make up the building. The levels are in ‘display order’ from top to bottom. DeclarationSwift var levels: [GMSIndoorLevel] { get }Objective-C @property (nonatomic, strong, readonly) NSArray<GMSIndoorLevel *> *_Nonnull levels;
- 
                  
                  Index in the levels array of the default level. DeclarationSwift var defaultLevelIndex: UInt { get }Objective-C @property (nonatomic, readonly) NSUInteger defaultLevelIndex;
- 
                  
                  If YES, the building is entirely underground and supports being hidden. DeclarationSwift var isUnderground: Bool { get }Objective-C @property (nonatomic, readonly, getter=isUnderground) BOOL underground;
- 
                  
                  Unavailable DeclarationObjective-C - (instancetype)init NS_UNAVAILABLE;