EmspServiceInfo

@IviExperimental(reasons = [])
data class EmspServiceInfo(val emspIdentifier: EmspIdentifier, val localizedServiceName: StringResolver, val icon: DrawableResolver?, val countriesOfOperation: Set<CountryId>) : Parcelable

Represents an eMSP (e-Mobility Service Provider) service.

Parameters

emspIdentifier
serviceName

Name of the service provider (eMSP). This should be a localized name that can be displayed in the UI.

icon

icon representing the eMSP which can be displayed in the UI to represent its brand.

countriesOfOperation

A set of country codes indicating where this eMSP can be used. This eMSP can only used when the vehicle is in a supported country.

Constructors

Link copied to clipboard
constructor(emspIdentifier: EmspIdentifier, localizedServiceName: StringResolver, icon: DrawableResolver?, countriesOfOperation: Set<CountryId>)

Properties

Link copied to clipboard
val countriesOfOperation: Set<CountryId>

A set of country codes indicating where this eMSP can be used. This eMSP can only used when the vehicle is in a supported country. An eMSP plugin should always return a non-empty set of CountryIds.

Link copied to clipboard

Used to uniquely identify this eMSP when accessing EvChargingMediatorService properties and calling EvChargingMediatorService methods. It should not be displayed to end-users as it is not localized.

Link copied to clipboard
val icon: DrawableResolver?

Icon representing the eMSP which can be displayed in the UI to represent its brand.

Link copied to clipboard
val localizedServiceName: StringResolver

Name of the service provider (eMSP). This should be a localized name that can be displayed in the UI.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)