Package-level declarations

Types

Link copied to clipboard
@MapboxExperimental
class EvAdditionalGeoLocation @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val position: Point, val name: LocalizedText? = null) : Parcelable

OCPI AdditionalGeoLocation. This class defines an additional geographic location that is relevant for the Charge Point. The geodetic system to be used is WGS 84. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvConnector @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val id: String?, val standard: String, val format: String, val powerType: String, val maxVoltage: Int, val maxAmperage: Int, val maxElectricPower: Int? = null, val tariffIds: List<String>, val termsAndConditions: String? = null, val lastUpdated: String?) : Parcelable

OCPI Connector. A Connector is the socket or cable and plug available for the EV to use. A single EVSE may provide multiple Connectors but only one of them can be in use at the same time. A Connector always belongs to an EVSE object. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvConnectorFormat

OCPI ConnectorFormat. The format of the connector, whether it is a socket or a plug. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvConnectorType

OCPI ConnectorType. The socket or plug standard of the charge point. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvEnergyMix @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val isGreenEnergy: Boolean?, val energySources: List<EvEnergySource>, val environmentalImpact: List<EvEnvironmentalImpact>, val supplierName: String?, val energyProductName: String?) : Parcelable

OCPI EnergyMix. This type is used to specify the energy mix and environmental impact of the supplied energy at a location or in a tariff. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvEnergySource @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val source: String, val percentage: Int?) : Parcelable

OCPI EnergySource. Key-value pairs (enum + percentage) of energy sources. All given values of all categories should add up to 100 percent. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvEnergySourceCategory

OCPI EnergySourceCategory. Categories of energy sources. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvEnvironmentalImpact @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val category: String, val amount: Float?) : Parcelable

OCPI EnvironmentalImpact. Amount of waste produced/emitted per kWh. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvEnvironmentalImpactCategory

OCPI EnvironmentalImpactCategory. Categories of environmental impact values. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvLocation @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val partyId: String, val publish: Boolean, val publishAllowedTo: List<EvsePublishTokenType>, val relatedLocations: List<EvAdditionalGeoLocation>, val evses: List<EVSE>, val operatorDetails: BusinessDetails?, val suboperatorDetails: BusinessDetails?, val ownerDetails: BusinessDetails?, val chargingWhenClosed: Boolean?, val energyMix: EvEnergyMix?) : Parcelable

OCPI Location. The Location object describes the location and its properties where a group of EVSEs that belong together are installed. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvMetadata @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val evLocation: EvLocation?) : Parcelable

EV-related metadata container.

Link copied to clipboard

OCPI PowerType. This value indicates an electrical power configuration of a connector. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EVSE @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val uid: String?, val evseId: String? = null, val status: String, val statusSchedule: List<EvStatusSchedule>, val capabilities: List<String>, val connectors: List<EvConnector>, val floorLevel: String? = null, val coordinate: Point? = null, val physicalReference: String? = null, val directions: List<LocalizedText>, val parkingRestrictions: List<String>, val images: List<ImageInfo>, val lastUpdated: String?) : Parcelable

OCPI EVSE. The EVSE object describes the part that controls the power supply to a single EV in a single session. It always belongs to a Location object. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvseCapability

OCPI Capability. The capabilities of an EVSE. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvsePublishTokenType @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val uid: String?, val tokenType: String?, val visualNumber: String?, val issuer: String?, val groupId: String?) : Parcelable

Defines the set of values that identify a token to which a Location might be published. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvseStatus

The status of an EVSE. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
object EvseTokenType

OCPI TokenType. Refer to this type in the OCPI GitHub repository for more details.

Link copied to clipboard
@MapboxExperimental
class EvStatusSchedule @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val periodBegin: String, val periodEnd: String? = null, val status: String) : Parcelable

OCPI StatusSchedule. This type is used to schedule status period in the future. Refer to this type in the OCPI GitHub repository for more details.