AI-generated Key Takeaways
- 
          
GMSIndoorLevelobjects represent a single level within a building, and multiple buildings can share the same level instance. - 
          
Each level has a localized
nameproperty for full display (e.g., "Ground floor") and ashortNameproperty for abbreviated display (e.g., "1"). - 
          
Instances of
GMSIndoorLevelare compared based on the level itself, not the level number or name, meaning levels with different names/numbers can be considered equal if they represent the same physical level. - 
          
You cannot directly initialize a
GMSIndoorLevelobject usinginit; it is marked as unavailable. 
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;