public final class

EvStatus.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.car.app.hardware.info.EvStatus.Builder

Overview

A builder of EvStatus.

Summary

Constructors
publicBuilder()

Methods
public EvStatusbuild()

Constructs the EvStatus defined by this builder.

public EvStatus.BuildersetEvChargePortConnected(CarValue<java.lang.Boolean> evChargePortConnected)

Sets if the EV charge port is connected with a CarValue.

public EvStatus.BuildersetEvChargePortOpen(CarValue<java.lang.Boolean> evChargePortOpen)

Sets if the EV charge port is open with a CarValue.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

public EvStatus.Builder setEvChargePortOpen(CarValue<java.lang.Boolean> evChargePortOpen)

Sets if the EV charge port is open with a CarValue.

public EvStatus.Builder setEvChargePortConnected(CarValue<java.lang.Boolean> evChargePortConnected)

Sets if the EV charge port is connected with a CarValue. .

public EvStatus build()

Constructs the EvStatus defined by this builder.