GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceOpenStatusCallback
Callback type for receiving the opening hours status for the Place. If an error occurred,
result
will be GMSPlaceOpenStatusUnknown
and error
will contain information about the
error.
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\u003eGMSPlaceOpenStatusCallback\u003c/code\u003e is a block that provides the open hours status for a specific Place.\u003c/p\u003e\n"],["\u003cp\u003eIf an error occurs while retrieving the status, the \u003ccode\u003eresult\u003c/code\u003e will be \u003ccode\u003eGMSPlaceOpenStatusUnknown\u003c/code\u003e and the \u003ccode\u003eerror\u003c/code\u003e object will contain details about the error.\u003c/p\u003e\n"],["\u003cp\u003eThis callback is used with \u003ccode\u003eGMSPlacesClient\u003c/code\u003e to fetch and handle Place open status information.\u003c/p\u003e\n"]]],["The `GMSPlaceOpenStatusCallback` is a callback function used to receive the opening hours status of a place. It returns a `GMSPlaceOpenStatus` result and an optional `NSError`. If an error occurs, the result will be `GMSPlaceOpenStatusUnknown`, and the `error` parameter will provide details about it. It is used within the `GMSPlacesClient` class to retrieve status information.\n"],null,["# GooglePlaces Framework Reference\n\nGMSPlaceOpenStatusCallback\n==========================\n\n typedef void (^GMSPlaceOpenStatusCallback)(../Enums/GMSPlaceOpenStatus.html,\n NSError *_Nullable)\n\nCallback type for receiving the opening hours status for the Place. If an error occurred,\n`result` will be `GMSPlaceOpenStatusUnknown` and `error` will contain information about the\nerror. \nSee\n\n[GMSPlacesClient](../Classes/GMSPlacesClient.html)"]]