GooglePlaces Framework Reference

  • GMSPlaceHoursType is an enum used to identify the type of secondary opening hours for a place, such as breakfast, lunch, or delivery.

  • It is only used for secondary opening hours, which are returned from the GMSPlace secondaryOpeningHours property.

  • The possible values for GMSPlaceHoursType include access, breakfast, brunch, lunch, dinner, senior hours, pickup, takeout, delivery, kitchen, online service hours, drive-through, happy hour, and unknown.

  • These types are further described in the Google Maps Places API documentation.

  • Developers can use GMSPlaceHoursType to determine the specific type of secondary opening hours associated with a place.

GMSPlaceHoursType

enum GMSPlaceHoursType : NSInteger {}

Identifies the type of secondary opening hours.

GMSPlaceHoursType is only set for secondary opening hours (i.e. opening hours returned from GMSPlace secondaryOpeningHours). Place hours types described here: https://developers.google.com/maps/documentation/places/web-service/details#PlaceOpeningHours-type