GMSPlaceEVSearchOptions
@interface GMSPlaceEVSearchOptions : NSObjectSearchable EV options of a place search request.
-
Minimum required charging rate in kilowatts. A place with a charging rate less than the specified rate is filtered out.
Declaration
Swift
var minimumChargingRateKW: Double { get }Objective-C
@property (nonatomic, readonly) double minimumChargingRateKW; -
The list of preferred EV connector types. A place that does not support any of the listed connector types is filtered out.
connectorTypesneeds to be an array ofGMSPlaceEVConnectorType, which can be found inGMSPlaceConnectorAggregation.hDeclaration
Swift
var connectorTypes: [NSNumber]? { get }Objective-C
@property (nonatomic, copy, readonly, nullable) NSArray<NSNumber *> *connectorTypes; -
Initializes a new instance of
GMSPlaceEVSearchOptions.Declaration
Swift
init(minimumChargingRateKW: Double, connectorTypes: [NSNumber]?)Objective-C
- (nonnull instancetype) initWithMinimumChargingRateKW:(double)minimumChargingRateKW connectorTypes: (nullable NSArray<NSNumber *> *)connectorTypes;Parameters
minimumChargingRateKWThe minimum charging rate of the EV charging connector in kilowatts.
connectorTypesThe list of preferred EV connector types.
-
Unavailable
Default init is not available. Please use the designated initializer.
Declaration
Objective-C
- (nonnull instancetype)init;