GMSPlaceFieldMask.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // GMSPlaceFieldMask.h
  3. // Google Places SDK for iOS
  4. //
  5. // Copyright 2018 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 <Foundation/Foundation.h>
  11. NS_ASSUME_NONNULL_BEGIN
  12. /**
  13. * \defgroup PlaceField GMSPlaceField
  14. * @{
  15. */
  16. /**
  17. * The fields represent individual information that can be requested for a |GMSPlace| object.
  18. * If no request fields are set, the |GMSPlace| object will be empty with no useful information.
  19. *
  20. * Note: GMSPlaceFieldPhoneNumber, GMSPlaceFieldWebsite and GMSPlaceFieldAddressComponents are not
  21. * supported for |GMSPlaceLikelihoodList| place objects. Please refer to
  22. * https://developers.google.com/places/ios-sdk/place-data-fields for more details.
  23. */
  24. typedef NS_OPTIONS(NSUInteger, GMSPlaceField) {
  25. GMSPlaceFieldName = 1 << 0,
  26. GMSPlaceFieldPlaceID = 1 << 1,
  27. GMSPlaceFieldPlusCode = 1 << 2,
  28. GMSPlaceFieldCoordinate = 1 << 3,
  29. GMSPlaceFieldOpeningHours = 1 << 4,
  30. GMSPlaceFieldPhoneNumber = 1 << 5,
  31. GMSPlaceFieldFormattedAddress = 1 << 6,
  32. GMSPlaceFieldRating = 1 << 7,
  33. GMSPlaceFieldPriceLevel = 1 << 8,
  34. GMSPlaceFieldTypes = 1 << 9,
  35. GMSPlaceFieldWebsite = 1 << 10,
  36. GMSPlaceFieldViewport = 1 << 11,
  37. GMSPlaceFieldAddressComponents = 1 << 12,
  38. GMSPlaceFieldPhotos = 1 << 13,
  39. GMSPlaceFieldUserRatingsTotal = 1 << 14,
  40. GMSPlaceFieldUTCOffsetMinutes = 1 << 15,
  41. GMSPlaceFieldBusinessStatus = 1 << 16,
  42. GMSPlaceFieldIconImageURL = 1 << 17,
  43. GMSPlaceFieldIconBackgroundColor = 1 << 18,
  44. GMSPlaceFieldAll = NSUIntegerMax,
  45. };
  46. /**@}*/
  47. NS_ASSUME_NONNULL_END