GMSPlaceContentBlock
@interface GMSPlaceContentBlock : NSObject
A class that represents a content block.
-
The content of the content block.
Declaration
Swift
var content: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *content;
-
The text’s BCP-47 language code, such as “en-US” or “sr-Latn”.
Declaration
Swift
var contentLanguageCode: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *contentLanguageCode;
-
The list of resource names of the referenced places. These names can be used in other APIs that accept Place resource names.
Declaration
Swift
var referencedPlaceResourceNames: [String]? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *referencedPlaceResourceNames;
-
The list of place IDs of the referenced places. These IDs can be used in other APIs that accept Place IDs.
Declaration
Swift
var referencedPlaceIDs: [String]? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSArray<NSString *> *referencedPlaceIDs;
-
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;