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 or methods.
GMSIndoorBuilding
@interface
GMSIndoorBuilding
:
NSObject
Describes 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.
Declaration
Swift
var levels : [ GMSIndoorLevel ] { get }Objective-C
@property ( nonatomic , strong , readonly ) NSArray < GMSIndoorLevel *> * _Nonnull levels ; -
Index in the levels array of the default level.
Declaration
Swift
var defaultLevelIndex : UInt { get }Objective-C
@property ( nonatomic , readonly ) NSUInteger defaultLevelIndex ; -
If YES, the building is entirely underground and supports being hidden.
Declaration
Swift
var isUnderground : Bool { get }Objective-C
@property ( nonatomic , readonly , getter = isUnderground ) BOOL underground ; -
Unavailable
Declaration
Objective-C
- ( instancetype ) init NS_UNAVAILABLE ;

