GMSPlacePhotoMetadata Class Reference

GMSPlacePhotoMetadata Class Reference

Overview

The metadata corresponding to a single photo associated with a place.

Properties

NSAttributedString * attributions
 The data provider attribution string for this photo.
NSArray
< GMSPlaceAuthorAttribution * > * 
authorAttributions
 The author attributions that must be shown to the user if this photo is displayed.
CGSize maxSize
 The maximum pixel size in which this photo is available.

Property Documentation

- (NSAttributedString*) attributions [read, copy]

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.

- (NSArray<GMSPlaceAuthorAttribution *>*) authorAttributions [read, copy]

The author attributions that must be shown to the user if this photo is displayed.

- (CGSize) maxSize [read, assign]

The maximum pixel size in which this photo is available.