GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
-
Declaration
Objective-C
GMSPlaceHoursTypeAccess
-
Declaration
Objective-C
GMSPlaceHoursTypeBreakfast
-
Declaration
Objective-C
GMSPlaceHoursTypeBrunch
-
Declaration
Objective-C
GMSPlaceHoursTypeLunch
-
Declaration
Objective-C
GMSPlaceHoursTypeDinner
-
Declaration
Swift
case seniorHours = 5
Objective-C
GMSPlaceHoursTypeSeniorHours
-
Declaration
Objective-C
GMSPlaceHoursTypePickup
-
Declaration
Objective-C
GMSPlaceHoursTypeTakeout
-
Declaration
Objective-C
GMSPlaceHoursTypeDelivery
-
Declaration
Objective-C
GMSPlaceHoursTypeKitchen
-
Declaration
Swift
case onlineServiceHours = 10
Objective-C
GMSPlaceHoursTypeOnlineServiceHours
-
Declaration
Swift
case driveThrough = 11
Objective-C
GMSPlaceHoursTypeDriveThrough
-
Declaration
Swift
case happyHour = 12
Objective-C
GMSPlaceHoursTypeHappyHour
-
Declaration
Objective-C
GMSPlaceHoursTypeUnknown
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSPlaceHoursType\u003c/code\u003e is an enum used to identify the type of secondary opening hours for a place, such as breakfast, lunch, or delivery.\u003c/p\u003e\n"],["\u003cp\u003eIt is only used for secondary opening hours, which are returned from the \u003ccode\u003eGMSPlace\u003c/code\u003e \u003ccode\u003esecondaryOpeningHours\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe possible values for \u003ccode\u003eGMSPlaceHoursType\u003c/code\u003e include access, breakfast, brunch, lunch, dinner, senior hours, pickup, takeout, delivery, kitchen, online service hours, drive-through, happy hour, and unknown.\u003c/p\u003e\n"],["\u003cp\u003eThese types are further described in the Google Maps Places API documentation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use \u003ccode\u003eGMSPlaceHoursType\u003c/code\u003e to determine the specific type of secondary opening hours associated with a place.\u003c/p\u003e\n"]]],["`GMSPlaceHoursType` identifies secondary opening hours for a place, such as those returned by `GMSPlace`. It uses an enum to list various types of hours, including `access`, `breakfast`, `brunch`, `lunch`, `dinner`, `seniorHours`, `pickup`, `takeout`, `delivery`, `kitchen`, `onlineServiceHours`, `driveThrough`, `happyHour` and `unknown`. Each type is represented by a case in Swift and an equivalent in Objective-C, and is defined by a numerical value.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlaceHoursType\n=================\n\n enum GMSPlaceHoursType : NSInteger {}\n\nIdentifies the type of secondary opening hours.\n\n`GMSPlaceHoursType` is only set for secondary opening hours (i.e. opening hours\nreturned from [GMSPlace](../Classes/GMSPlace.html) secondaryOpeningHours).\nPlace hours types described here:\n\u003chttps://developers.google.com/maps/documentation/places/web-service/details#PlaceOpeningHours-type\u003e\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeAccess](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeAccess)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case access = 0\n\n Objective-C \n\n GMSPlaceHoursTypeAccess\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeBreakfast](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeBreakfast)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case breakfast = 1\n\n Objective-C \n\n GMSPlaceHoursTypeBreakfast\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeBrunch](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeBrunch)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case brunch = 2\n\n Objective-C \n\n GMSPlaceHoursTypeBrunch\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeLunch](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeLunch)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case lunch = 3\n\n Objective-C \n\n GMSPlaceHoursTypeLunch\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeDinner](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeDinner)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case dinner = 4\n\n Objective-C \n\n GMSPlaceHoursTypeDinner\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeSeniorHours](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeSeniorHours)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case seniorHours = 5\n\n Objective-C \n\n GMSPlaceHoursTypeSeniorHours\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypePickup](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypePickup)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case pickup = 6\n\n Objective-C \n\n GMSPlaceHoursTypePickup\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeTakeout](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeTakeout)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case takeout = 7\n\n Objective-C \n\n GMSPlaceHoursTypeTakeout\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeDelivery](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeDelivery)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case delivery = 8\n\n Objective-C \n\n GMSPlaceHoursTypeDelivery\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeKitchen](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeKitchen)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case kitchen = 9\n\n Objective-C \n\n GMSPlaceHoursTypeKitchen\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeOnlineServiceHours](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeOnlineServiceHours)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case onlineServiceHours = 10\n\n Objective-C \n\n GMSPlaceHoursTypeOnlineServiceHours\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeDriveThrough](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeDriveThrough)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case driveThrough = 11\n\n Objective-C \n\n GMSPlaceHoursTypeDriveThrough\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeHappyHour](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeHappyHour)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case happyHour = 12\n\n Objective-C \n\n GMSPlaceHoursTypeHappyHour\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceHoursTypeUnknown](#/c:@E@GMSPlaceHoursType@GMSPlaceHoursTypeUnknown)\n\n `\n ` \n\n #### Declaration\n\n Swift \n\n case unknown = 13\n\n Objective-C \n\n GMSPlaceHoursTypeUnknown"]]