EVSearchOptions
public struct EVSearchOptions : Hashable
Encapsulates additional options that control the behavior of EVSearchEngine.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors.
Related APIs may change for new releases without a deprecation process.
-
List of additional optional features to be returned in
EVChargingLocation. If empty, only minimal set of the required features will be returned.Declaration
Swift
public var additionalFeatures: [EVChargingLocationFeature] -
List of tariff search options. This parameter is effective only if the
EVSearchOptions.additionalFeaturescontainsEVChargingLocationFeature.tariffs. If empty, the response contains only ad-hoc tariffs, if available.Declaration
Swift
public var requestedTariffs: [EVChargingTariffRequest] -
Creates an EVSearchOptions object.
Declaration
Swift
public init(additionalFeatures: [EVChargingLocationFeature] = [], requestedTariffs: [EVChargingTariffRequest] = [])