12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // GMSPlacePhotoMetadata.h
- // Google Places SDK for iOS
- //
- // Copyright 2016 Google LLC
- //
- // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
- // Service: https://developers.google.com/maps/terms
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- /**
- * The metadata corresponding to a single photo associated with a place.
- */
- @interface GMSPlacePhotoMetadata : NSObject
- /**
- * 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.
- */
- @property(nonatomic, readonly, copy, nullable) NSAttributedString *attributions;
- /**
- * The maximum pixel size in which this photo is available.
- */
- @property(nonatomic, readonly, assign) CGSize maxSize;
- /**
- * Initializer is not available.
- */
- - (instancetype)init NS_UNAVAILABLE;
- @end
- NS_ASSUME_NONNULL_END
|