GooglePlaces Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMSPlaceIsOpenResponse
@interface GMSPlaceIsOpenResponse : NSObject
The response object for the isOpenWithRequest:callback:
method.
-
Default init is not available. Please use the designated initializer.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Initializes the response with a given status. This is meant to be used for unit testing
-
The open status of the place.
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\u003eGMSPlaceIsOpenResponse\u003c/code\u003e provides information about whether a place is currently open or closed.\u003c/p\u003e\n"],["\u003cp\u003eIt uses the \u003ccode\u003eGMSPlaceOpenStatus\u003c/code\u003e enum to represent the open status of the place.\u003c/p\u003e\n"],["\u003cp\u003eInitialization should be done using \u003ccode\u003einitWithStatus:\u003c/code\u003e for testing purposes, the default init is unavailable.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estatus\u003c/code\u003e property gives access to the place's open/closed state using \u003ccode\u003eGMSPlaceOpenStatus\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# GooglePlaces Framework Reference\n\nGMSPlaceIsOpenResponse\n======================\n\n @interface GMSPlaceIsOpenResponse : NSObject\n\nThe response object for the `isOpenWithRequest:callback:` method.\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMSPlaceIsOpenResponse(im)init)\n\n `\n ` \n Unavailable \n Default init is not available. Please use the designated initializer. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n ### [-initWithStatus:](#/c:objc(cs)GMSPlaceIsOpenResponse(im)initWithStatus:)\n\n `\n ` \n Initializes the response with a given status. This is meant to be used for unit testing\n - purposes. \n\n #### Declaration\n\n Swift \n\n init(status: ../Enums/GMSPlaceOpenStatus.html)\n\n Objective-C \n\n - (nonnull instancetype)initWithStatus:(../Enums/GMSPlaceOpenStatus.html)status;\n\n- `\n ``\n ``\n `\n\n ### [status](#/c:objc(cs)GMSPlaceIsOpenResponse(py)status)\n\n `\n ` \n The open status of the place. \n\n #### Declaration\n\n Swift \n\n var status: ../Enums/GMSPlaceOpenStatus.html { get }\n\n Objective-C \n\n @property (nonatomic, readonly) ../Enums/GMSPlaceOpenStatus.html status;"]]