GooglePlacesSwift Framework Reference
IsPlaceOpenRequest
struct IsPlaceOpenRequest
Represents an IsPlaceOpenRequest
definition to be sent via PlacesClient.
-
The Date
to be used for the request. If no date is provided, the current date and time is
used.
Declaration
Swift
var date: Date? { get }
-
Initializes the request with a Place
and an optional Date
.
Declaration
Swift
init(place: Place, date: Date? = nil)
-
Initializes the request with a placeID
and an optional Date
.
Declaration
Swift
init(placeID: String, date: Date? = nil)
-
The Place
to be used for the request.
Declaration
Swift
var place: Place? { get }
-
The place ID to be used for the request.
Declaration
Swift
var placeID: String? { 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."],[[["`IsPlaceOpenRequest` determines if a place is currently open using either a `Place` object or a `placeID`."],["Requests can specify a specific `Date` for the query; otherwise, the current date and time are used."],["The request can be initialized with either a `Place` object or a `placeID` string, along with an optional `Date`."],["The struct provides access to the `place`, `placeID`, and `date` associated with the request."]]],[]]