GooglePlaces Framework Reference

GMSPlaceConsumerAlert

@interface GMSPlaceConsumerAlert : NSObject

The consumer alert message for the place when we detect suspicious review activity on a business or a business violates our policies.

  • The overview of the consumer alert.

    Declaration

    Swift

    var overview: String? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *overview;
  • The details of the consumer alert.

    Declaration

    Swift

    @NSCopying var details: GMSPlaceConsumerAlertDetails? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) GMSPlaceConsumerAlertDetails *details;
  • The language code of the consumer alert. This is a BCP 47 language code.

    Declaration

    Swift

    var languageCode: String? { get }

    Objective-C

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

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;