GooglePlaces Framework Reference

GMSPlaceAISummary

@protocol GMSPlaceAISummary <NSObject>

Protocol for the AI-generated summary of the place.

  • Returns the URI to flag a problem with the summary.

    Declaration

    Swift

    var flagContentURI: URL? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSURL *flagContentURI;
  • Returns the AI disclosure message “Summarized with Gemini”.

    Declaration

    Swift

    var disclosureText: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *disclosureText;
  • Returns the disclosure text’s language code, if available.

    Declaration

    Swift

    var disclosureTextLanguageCode: String? { get }

    Objective-C

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