Page Summary
-
GMSIndoorLevelobjects represent a single level within a building, and multiple buildings can share the same level instance. -
Each level has a localized
nameproperty for display, such as "Ground floor". -
Levels also have a localized
shortNameproperty for concise display, like "1". -
The
initmethod 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 ;

