# VehicleElectronicTollCollectionCardStatus

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

# VehicleElectronicTollCollectionCardStatus

`
public


class
VehicleElectronicTollCollectionCardStatus
`  
`

extends Object


``


`

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

<br />

*** ** * ** ***

Used by[VehiclePropertyIds.ELECTRONIC_TOLL_COLLECTION_CARD_STATUS](https://developer.android.com/reference/android/car/VehiclePropertyIds#ELECTRONIC_TOLL_COLLECTION_CARD_STATUS)to enumerate ETC(electronic toll collection) card types in the vehicle. Use in[CarPropertyManager.getProperty(int, int)](https://developer.android.com/reference/android/car/hardware/property/CarPropertyManager#getProperty(int,%20int))to get this property value.

## Summary

|                                                                                                                                          ### Constants                                                                                                                                          ||
|-------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [ELECTRONIC_TOLL_COLLECTION_CARD_INVALID](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#ELECTRONIC_TOLL_COLLECTION_CARD_INVALID) An electronic toll collection card is present, but it is expired or otherwise invalid |
| `int` | [ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED) No electronic toll collection card is inserted in the reader                |
| `int` | [ELECTRONIC_TOLL_COLLECTION_CARD_VALID](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#ELECTRONIC_TOLL_COLLECTION_CARD_VALID) A valid electronic toll collection card is present                                        |
| `int` | [UNKNOWN](https://developer.android.com/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#UNKNOWN) Status could not be determined                                                                                                                        |

| ### 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

### ELECTRONIC_TOLL_COLLECTION_CARD_INVALID

```
public static final int ELECTRONIC_TOLL_COLLECTION_CARD_INVALID
```

An electronic toll collection card is present, but it is expired or otherwise invalid

<br />

Constant Value: 2 (0x00000002)  

### ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED

```
public static final int ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED
```

No electronic toll collection card is inserted in the reader

<br />

Constant Value: 3 (0x00000003)  

### ELECTRONIC_TOLL_COLLECTION_CARD_VALID

```
public static final int ELECTRONIC_TOLL_COLLECTION_CARD_VALID
```

A valid electronic toll collection card is present

<br />

Constant Value: 1 (0x00000001)  

### UNKNOWN

```
public static final int UNKNOWN
```

Status could not be determined

<br />

Constant Value: 0 (0x00000000)