GooglePlaces Framework Reference

GMSPlaceReviewSummary

@interface GMSPlaceReviewSummary : NSObject <GMSPlaceAISummary>

AI-generated summary of the place using user reviews.

  • The summary of user reviews.

    Declaration

    Swift

    var text: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *text;
  • The language code of the summary, if available.

    Declaration

    Swift

    var textLanguageCode: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *textLanguageCode;
  • A link where users can flag a problem with the 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). This will be in the language specified in the request if available.

    Declaration

    Swift

    var disclosureText: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *disclosureText;
  • The language code for the disclosure text.

    Declaration

    Swift

    var disclosureTextLanguageCode: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *disclosureTextLanguageCode;
  • Unavailable

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;