EmspServiceInfo

data class EmspServiceInfo(    val emspIdentifier: EmspIdentifier,     val serviceName: String,     val icon: ResourceDrawableResolver,     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
fun EmspServiceInfo(    emspIdentifier: EmspIdentifier,     serviceName: String,     icon: ResourceDrawableResolver,     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
val emspIdentifier: EmspIdentifier

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: ResourceDrawableResolver

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

Link copied to clipboard
val serviceName: String

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)