EVMobilityServiceProviderPreferences

public struct EVMobilityServiceProviderPreferences : Hashable

Defines preference level per known E-Mobility Service Provider. The E-Mobility Service Provider ID partner id as received from https://www.here.com/docs/bundle/ev-charge-points-api-developer-guide/page/topics/resource-roamings.html An alternative way to get partnerId is the eMobilityServiceProviders.partnerId as part of HERE SDK Search. Maximum number of E-Mobility Service Providers is limited to 10 across all preference. Defaults to using all available providers with no prioritization.

  • Specifies the E-Mobility Service Provider partnerId that are preferred the most.

    Declaration

    Swift

    public var high: [String]
  • Specifies the E-Mobility Service Provider partnerId that can be used when no better provider could be found or reached.

    Declaration

    Swift

    public var medium: [String]
  • low

    Specifies the E-Mobility Service Provider partnerId that are preferred the least.

    Declaration

    Swift

    public var low: [String]
  • Creates a new instance.

    Declaration

    Swift

    public init(high: [String] = [], medium: [String] = [], low: [String] = [])