Summary: [Constants](https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#constants) \| [Methods](https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#inhmethods)

# EvChargingConnectorType


`
public

final

class
EvChargingConnectorType
`


`

extends Object


`

`


`

|---|---|
| java.lang.Object ||
| ↳ | android.car.hardware.property.EvChargingConnectorType |

<br />

*** ** * ** ***

Uses IEC(International Electrotechnical Commission) 62196 and other standards to
denote the charging connector type an electric vehicle may use.

Applications can use `https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#getProperty(int,%20int)` with
`https://developer.android.com/reference/android/car/VehiclePropertyIds#INFO_EV_CONNECTOR_TYPE` to query charging connector
types of the car.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#GBT_AC` GBT_AC Fast Charging Standard |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#GBT_DC` GBT_DC Fast Charging Standard |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_1_AC` IEC 62196 Type 1 connector Also known as the "Yazaki connector" or "J1772 connector". |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_1_CCS_DC` IEC 62196 Type EE connector Also known as the "CCS1 connector" or "Combo1 connector". |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_2_AC` IEC 62196 Type 2 connector Also known as the "Mennekes connector". |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_2_CCS_DC` IEC 62196 Type FF connector Also known as the "CCS2 connector" or "Combo2 connector". |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_3_AC` IEC 62196 Type 3 connector Also known as the "Scame connector". |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_4_DC` IEC 62196 Type AA connector Also known as the "Chademo connector". |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#OTHER` Connector type to use when no other types apply. |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_AC` SAE J3400 connector - AC Charging. |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_DC` SAE J3400 connector - DC Charging. |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_HPWC` *This constant is deprecated. This is the same connector as the `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_AC`. Please use that field instead.* |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_ROADSTER` Connector of Tesla Roadster |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_SUPERCHARGER` *This constant is deprecated. This is the same connector as the `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_DC`. Please use that field instead.* |
| `int` | `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#UNKNOWN` The vehicle does not know the charging connector type. |

| ### Public methods ||
|---|---|
| ` static String` | ` https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#toString(int)(int connectorType) ` Gets a user-friendly representation of a charging connector type. |

| ### Inherited methods |
|---|---|
| From class ` java.lang.Object ` |---|---| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class<?>` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||

## Constants

### GBT_AC

```
public static final int GBT_AC
```

GBT_AC Fast Charging Standard

<br />

Constant Value:

10
(0x0000000a)


### GBT_DC

```
public static final int GBT_DC
```

GBT_DC Fast Charging Standard

<br />

Constant Value:

11
(0x0000000b)


### IEC_TYPE_1_AC

```
public static final int IEC_TYPE_1_AC
```

IEC 62196 Type 1 connector

Also known as the "Yazaki connector" or "J1772 connector".

<br />

Constant Value:

1
(0x00000001)


### IEC_TYPE_1_CCS_DC

```
public static final int IEC_TYPE_1_CCS_DC
```

IEC 62196 Type EE connector

Also known as the "CCS1 connector" or "Combo1 connector".

<br />

Constant Value:

5
(0x00000005)


### IEC_TYPE_2_AC

```
public static final int IEC_TYPE_2_AC
```

IEC 62196 Type 2 connector

Also known as the "Mennekes connector".

<br />

Constant Value:

2
(0x00000002)


### IEC_TYPE_2_CCS_DC

```
public static final int IEC_TYPE_2_CCS_DC
```

IEC 62196 Type FF connector

Also known as the "CCS2 connector" or "Combo2 connector".

<br />

Constant Value:

6
(0x00000006)


### IEC_TYPE_3_AC

```
public static final int IEC_TYPE_3_AC
```

IEC 62196 Type 3 connector

Also known as the "Scame connector".

<br />

Constant Value:

3
(0x00000003)


### IEC_TYPE_4_DC

```
public static final int IEC_TYPE_4_DC
```

IEC 62196 Type AA connector

Also known as the "Chademo connector".

<br />

Constant Value:

4
(0x00000004)


### OTHER

```
public static final int OTHER
```

Connector type to use when no other types apply.

<br />

Constant Value:

101
(0x00000065)


### SAE_J3400_AC

```
public static final int SAE_J3400_AC
```

SAE J3400 connector - AC Charging.

Also known as the "North American Charging Standard" (NACS).

This enum will be used if the vehicle specifically supports AC charging. If the vehicle
supports both AC and DC, `https://developer.android.com/reference/android/car/VehiclePropertyIds#INFO_EV_CONNECTOR_TYPE` will
be populated with both `SAE_J3400_AC` and `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_DC`. If the vehicle only
supports AC charging, it will only be populated with `SAE_J3400_AC`.

This is equivalent to `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_HPWC` enum, which used to map to the same value.

<br />

Constant Value:

8
(0x00000008)


### SAE_J3400_DC

```
public static final int SAE_J3400_DC
```

SAE J3400 connector - DC Charging.

Also known as the "North American Charging Standard" (NACS).

This enum will be used if the vehicle specifically supports DC charging. If the vehicle
supports both AC and DC, `https://developer.android.com/reference/android/car/VehiclePropertyIds#INFO_EV_CONNECTOR_TYPE` will
be populated with both `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_AC` and `SAE_J3400_DC`. If the vehicle only
supports DC charging, it will only be populated with `SAE_J3400_DC`.

This is equivalent to `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_SUPERCHARGER` enum, which used to map to the same
value.

<br />

Constant Value:

9
(0x00000009)


### TESLA_HPWC

```
public static final int TESLA_HPWC
```


**This constant is deprecated.**   

This is the same connector as the `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_AC`. Please use that field
instead.

High Power Wall Charger of Tesla.

<br />

**See also:**

- `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_AC`

Constant Value:

8
(0x00000008)


### TESLA_ROADSTER

```
public static final int TESLA_ROADSTER
```

Connector of Tesla Roadster

<br />

Constant Value:

7
(0x00000007)


### TESLA_SUPERCHARGER

```
public static final int TESLA_SUPERCHARGER
```


**This constant is deprecated.**   

This is the same connector as the `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_DC`. Please use that field
instead.

Tesla Supercharger

<br />

**See also:**

- `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_DC`

Constant Value:

9
(0x00000009)


### UNKNOWN

```
public static final int UNKNOWN
```

The vehicle does not know the charging connector type.

<br />

Constant Value:

0
(0x00000000)


## Public methods

### toString

```
public static String toString (int connectorType)
```

Gets a user-friendly representation of a charging connector type.

<br />

| Parameters ||
|---|---|
| `connectorType` | `int`: Value is `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#UNKNOWN`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_1_AC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_2_AC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_3_AC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_4_DC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_1_CCS_DC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#IEC_TYPE_2_CCS_DC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_ROADSTER`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_HPWC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#TESLA_SUPERCHARGER`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#GBT_AC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#GBT_DC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_AC`, `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#SAE_J3400_DC`, or `https://developer.android.com/reference/android/car/hardware/property/EvChargingConnectorType#OTHER` <br /> |

| Returns ||
|---|---|
| `String` | <br /> |