GMSPlaceGenerativeSummary
@interface GMSPlaceGenerativeSummary : NSObject <GMSPlaceAISummary>
A class that represents a place’s generative summary.
-
Localized string describing the overview of the place.
Declaration
Swift
var overview: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *overview;
-
The text’s BCP-47 language code, such as “en-US” or “sr-Latn”.
For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Declaration
Swift
var overviewLanguageCode: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *overviewLanguageCode;
-
A link where users can flag a problem with the overview summary.
Declaration
Swift
var flagContentURI: URL? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSURL *flagContentURI;
-
The AI disclosure message “Summarized with Gemini” (and its localized variants).
Declaration
Swift
var disclosureText: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *disclosureText;
-
The text’s BCP-47 language code, such as “en-US” or “sr-Latn”.
For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
Declaration
Swift
var disclosureTextLanguageCode: String? { get }
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *disclosureTextLanguageCode;
-
Unavailable
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;