# GMSPlacePhotoMetadata

Deprecated

This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.


    @interface GMSPlacePhotoMetadata : NSObject

The metadata corresponding to a single photo associated with a place.
- `
  ### [attributions](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlacePhotoMetadata#/c:objc(cs)GMSPlacePhotoMetadata(py)attributions)

  ` Deprecated

  This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.
  The data provider attribution string for this photo.

  These are provided as a NSAttributedString, which may contain hyperlinks to the website of each provider.

  In general, these must be shown to the user if data from this `GMSPlacePhotoMetadata` is shown, as described in the Places SDK Terms of Service.

  #### Declaration

  Swift

      @NSCopying var attributions: NSAttributedString? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSAttributedString *attributions;

- `
  ### [authorAttributions](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlacePhotoMetadata#/c:objc(cs)GMSPlacePhotoMetadata(py)authorAttributions)

  ` Deprecated

  This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.
  The author attributions that must be shown to the user if this photo is displayed.

  #### Declaration

  Swift

      var authorAttributions: [https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceAuthorAttribution.html]? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSArray<https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlaceAuthorAttribution.html *> *authorAttributions;

- `
  ### [maxSize](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlacePhotoMetadata#/c:objc(cs)GMSPlacePhotoMetadata(py)maxSize)

  ` Deprecated

  This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.
  The maximum pixel size in which this photo is available.

  #### Declaration

  Swift

      var maxSize: CGSize { get }

  Objective-C

      @property (nonatomic, readonly) CGSize maxSize;

- `
  ### [flagContentURL](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlacePhotoMetadata#/c:objc(cs)GMSPlacePhotoMetadata(py)flagContentURL)

  ` Deprecated

  This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.
  A link where users can flag a problem with the photo.

  #### Declaration

  Swift

      var flagContentURL: URL? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSURL *flagContentURL;

- `
  ### [googleMapsURL](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlacePhotoMetadata#/c:objc(cs)GMSPlacePhotoMetadata(py)googleMapsURL)

  ` Deprecated

  This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.
  A link to show the photo on Google Maps.

  #### Declaration

  Swift

      var googleMapsURL: URL? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSURL *googleMapsURL;

- `
  ### [-init](https://developers.google.com/maps/documentation/places/ios-sdk/reference/objc/Classes/GMSPlacePhotoMetadata#/c:objc(cs)GMSPlacePhotoMetadata(im)init)

  ` Deprecated

  This class is deprecated, please use the Place Details component (<https://developers.google.com/maps/documentation/places/ios-sdk/place-details-ui-kit>) instead.
  Unavailable
  Initializer is not available.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;