GooglePlacesSwift Framework Reference
IsPlaceOpenResponse
struct IsPlaceOpenResponse
The response from the isPlaceOpen
method.
-
Initializes the response with a given status.
This is meant to be used for unit testing purposes.
Declaration
Swift
init(status: Bool?)
-
The open status of the place.
Declaration
Swift
var status: Bool? { get }
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-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["`IsPlaceOpenResponse` is a struct that represents the response from the `isPlaceOpen` method."],["It includes a `status` property indicating whether the place is open, which is optional and may be `nil`."],["There's an initializer specifically for unit testing that allows setting the `status` directly."]]],[]]