GooglePlaces Framework Reference

GMSPlaceEVSearchOptions

@interface GMSPlaceEVSearchOptions : NSObject

Searchable 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. connectorTypes needs to be an array of GMSPlaceEVConnectorType, which can be found in GMSPlaceConnectorAggregation.h

    Declaration

    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

    minimumChargingRateKW

    The minimum charging rate of the EV charging connector in kilowatts.

    connectorTypes

    The list of preferred EV connector types.

  • Unavailable

    Default init is not available. Please use the designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)init;