You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
// |
|
// 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
|
|
|