GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceOpenStatus
enum GMSPlaceOpenStatus : NSInteger {}
Describes the open status of a place.
-
The place’s open status is unknown.
Declaration
Objective-C
GMSPlaceOpenStatusUnknown
-
Declaration
Objective-C
GMSPlaceOpenStatusOpen
-
Declaration
Objective-C
GMSPlaceOpenStatusClosed
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\u003eGMSPlaceOpenStatus\u003c/code\u003e is an enum that describes whether a place is open, closed, or has an unknown status.\u003c/p\u003e\n"],["\u003cp\u003eIt has three possible values: \u003ccode\u003eGMSPlaceOpenStatusUnknown\u003c/code\u003e, \u003ccode\u003eGMSPlaceOpenStatusOpen\u003c/code\u003e, and \u003ccode\u003eGMSPlaceOpenStatusClosed\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this enum to display the open status of a place in their applications.\u003c/p\u003e\n"]]],["The core content describes the `GMSPlaceOpenStatus` enum, which defines the open status of a place. The enum has three possible states: `unknown` (status is not known), `open` (the place is currently open), and `closed` (the place is not currently open). Each state has corresponding Swift and Objective-C declarations, with numerical values assigned to each status, such as `unknown` being 0, `open` being 1, and `closed` being 2.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlaceOpenStatus\n==================\n\n enum GMSPlaceOpenStatus : NSInteger {}\n\nDescribes the open status of a place.\n- `\n ``\n ``\n `\n\n ### [GMSPlaceOpenStatusUnknown](#/c:@E@GMSPlaceOpenStatus@GMSPlaceOpenStatusUnknown)\n\n `\n ` \n The place's open status is unknown. \n\n #### Declaration\n\n Swift \n\n case unknown = 0\n\n Objective-C \n\n GMSPlaceOpenStatusUnknown\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceOpenStatusOpen](#/c:@E@GMSPlaceOpenStatus@GMSPlaceOpenStatusOpen)\n\n `\n ` \n The place is open. \n\n #### Declaration\n\n Swift \n\n case open = 1\n\n Objective-C \n\n GMSPlaceOpenStatusOpen\n\n- `\n ``\n ``\n `\n\n ### [GMSPlaceOpenStatusClosed](#/c:@E@GMSPlaceOpenStatus@GMSPlaceOpenStatusClosed)\n\n `\n ` \n The place is not open. \n\n #### Declaration\n\n Swift \n\n case closed = 2\n\n Objective-C \n\n GMSPlaceOpenStatusClosed"]]