GooglePlaces Framework Reference
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 2024-11-08 UTC.
[null,null,["Last updated 2024-11-08 UTC."],[[["`GMSPlaceOpenStatus` is an enum that describes whether a place is open, closed, or has an unknown status."],["It has three possible values: `GMSPlaceOpenStatusUnknown`, `GMSPlaceOpenStatusOpen`, and `GMSPlaceOpenStatusClosed`."],["Developers can use this enum to display the open status of a place in their applications."]]],["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"]]