Stay organized with collections
Save and categorize content based on your preferences.
VehicleElectronicTollCollectionCardStatus
public
class
VehicleElectronicTollCollectionCardStatus
extends Object
java.lang.Object
|
↳ |
android.car.hardware.property.VehicleElectronicTollCollectionCardStatus
|
Used by VehiclePropertyIds.ELECTRONIC_TOLL_COLLECTION_CARD_STATUS
to
enumerate ETC(electronic toll collection) card types in the vehicle.
Use in CarPropertyManager.getProperty(int, int)
to
get this property value.
Summary
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
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
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
Constant Value:
1
(0x00000001)
UNKNOWN
public static final int UNKNOWN
Status could not be determined
Constant Value:
0
(0x00000000)
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-17 UTC.
[null,null,["Last updated 2025-02-17 UTC."],[],[],null,["# VehicleElectronicTollCollectionCardStatus\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nVehicleElectronicTollCollectionCardStatus\n=========================================\n\n\n`\npublic\n\n\nclass\nVehicleElectronicTollCollectionCardStatus\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|-------------------------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | android.car.hardware.property.VehicleElectronicTollCollectionCardStatus |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nUsed by [VehiclePropertyIds.ELECTRONIC_TOLL_COLLECTION_CARD_STATUS](/reference/android/car/VehiclePropertyIds#ELECTRONIC_TOLL_COLLECTION_CARD_STATUS) to\nenumerate ETC(electronic toll collection) card types in the vehicle.\nUse in [CarPropertyManager.getProperty(int, int)](/reference/android/car/hardware/property/CarPropertyManager#getProperty(int,%20int)) to\nget this property value.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `int` | [ELECTRONIC_TOLL_COLLECTION_CARD_INVALID](/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 |\n| `int` | [ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED](/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED) No electronic toll collection card is inserted in the reader |\n| `int` | [ELECTRONIC_TOLL_COLLECTION_CARD_VALID](/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#ELECTRONIC_TOLL_COLLECTION_CARD_VALID) A valid electronic toll collection card is present |\n| `int` | [UNKNOWN](/reference/android/car/hardware/property/VehicleElectronicTollCollectionCardStatus#UNKNOWN) Status could not be determined |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` 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() ` | ||\n\nConstants\n---------\n\n### ELECTRONIC_TOLL_COLLECTION_CARD_INVALID\n\n```\npublic static final int ELECTRONIC_TOLL_COLLECTION_CARD_INVALID\n```\n\nAn electronic toll collection card is present, but it is expired or otherwise invalid\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED\n\n```\npublic static final int ELECTRONIC_TOLL_COLLECTION_CARD_NOT_INSERTED\n```\n\nNo electronic toll collection card is inserted in the reader\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### ELECTRONIC_TOLL_COLLECTION_CARD_VALID\n\n```\npublic static final int ELECTRONIC_TOLL_COLLECTION_CARD_VALID\n```\n\nA valid electronic toll collection card is present\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### UNKNOWN\n\n```\npublic static final int UNKNOWN\n```\n\nStatus could not be determined\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]