GoogleNavigation Framework Reference
GMSIndoorLevel
@interface GMSIndoorLevel : NSObject
Describes a single level in a building.
Multiple buildings can share a level - in this case the level instances will compare as equal,
even though the level numbers/names may be different.
-
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`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 full display (e.g., \"Ground floor\") and a `shortName` property for abbreviated display (e.g., \"1\")."],["Instances of `GMSIndoorLevel` are 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 `GMSIndoorLevel` object using `init`; it is marked as unavailable."]]],[]]