GMSPlacePhotoMetadata.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // GMSPlacePhotoMetadata.h
  3. // Google Places SDK for iOS
  4. //
  5. // Copyright 2016 Google LLC
  6. //
  7. // Usage of this SDK is subject to the Google Maps/Google Earth APIs Terms of
  8. // Service: https://developers.google.com/maps/terms
  9. //
  10. #import <UIKit/UIKit.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. * The metadata corresponding to a single photo associated with a place.
  14. */
  15. @interface GMSPlacePhotoMetadata : NSObject
  16. /**
  17. * The data provider attribution string for this photo.
  18. *
  19. * These are provided as a NSAttributedString, which may contain hyperlinks to the website of each
  20. * provider.
  21. *
  22. * In general, these must be shown to the user if data from this GMSPlacePhotoMetadata is shown, as
  23. * described in the Places SDK Terms of Service.
  24. */
  25. @property(nonatomic, readonly, copy, nullable) NSAttributedString *attributions;
  26. /**
  27. * The maximum pixel size in which this photo is available.
  28. */
  29. @property(nonatomic, readonly, assign) CGSize maxSize;
  30. /**
  31. * Initializer is not available.
  32. */
  33. - (instancetype)init NS_UNAVAILABLE;
  34. @end
  35. NS_ASSUME_NONNULL_END