GMSPlaceIsOpenRequest
@interface GMSPlaceIsOpenRequest : NSObjectRepresents an is open request definition to be sent via GMSPlacesClient.
-
Initializes the request with a
GMSPlaceand date.Declaration
Swift
init(place: GMSPlace, date: Date?)Objective-C
- (nonnull instancetype)initWithPlace:(nonnull GMSPlace *)place date:(nullable NSDate *)date;Parameters
placeThe
GMSPlaceto be used for the request.dateThe date to be used for the request. If no date is provided, the current date and time is used.
-
Initializes the request with a placeID and date.
Declaration
Swift
convenience init(placeID: String, date: Date?)Objective-C
- (nonnull instancetype)initWithPlaceID:(nonnull NSString *)placeID date:(nullable NSDate *)date;Parameters
placeIDThe placeID to be used for the request.
dateThe date to be used for the request. If no date is provided, the current date and time is used.
-
Unavailable
Default init is not available. Please use the designated initializer.
Declaration
Objective-C
- (nonnull instancetype)init; -
The placeID to be used for the request.
Declaration
Swift
var placeID: String? { get }Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *placeID; -
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 }Objective-C
@property (nonatomic, readonly, nullable) NSDate *date;