AI-generated Key Takeaways
-
GMSIndoorBuilding
objects represent buildings with multiple levels, organized in a specific display order. -
The
levels
property provides access to an array ofGMSIndoorLevel
objects, representing the building's floors. -
defaultLevelIndex
indicates the index of the default level within thelevels
array. -
The
underground
property, if true, signifies the building is entirely underground and can be hidden. -
Direct initialization of
GMSIndoorBuilding
is 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;