AI-generated Key Takeaways
-
GMSIndoorLevel
objects represent a single level within a building, and multiple buildings can share the same level instance. -
Each level has a localized
name
property for display, such as "Ground floor". -
Levels also have a localized
shortName
property for concise display, like "1". -
The
init
method is unavailable; you should obtain level instances from other Google Maps SDK for iOS objects.
GMSIndoorLevel
@interface GMSIndoorLevel : NSObject
- (instancetype)init NS_UNAVAILABLE;
/** Localized display name for the level, e.g. "Ground floor". */
@property(nonatomic, copy, readonly, nullable) NSString *name;
/** Localized short display name for the level, e.g. "1". */
@property(nonatomic, copy, readonly, nullable) NSString *shortName;
@end
-
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
-
Localized display name for the level, e.g. “Ground floor”.
Declaration
Swift
var name: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *name;
-
Localized short display name for the level, e.g. “1”.
Declaration
Swift
var shortName: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *shortName;