Stay organized with collections
Save and categorize content based on your preferences.
PortLocationType
public
final
class
PortLocationType
extends Object
java.lang.Object
|
↳ |
android.car.PortLocationType
|
Used by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or
ev port location.
Use getProperty and setProperty in CarPropertyManager
to
set and get this VHAL property.
Summary
Constants |
int |
FRONT
Port is on front of vehicle.
|
int |
FRONT_LEFT
Port is on front left side of vehicle.
|
int |
FRONT_RIGHT
Port is on front right side of vehicle.
|
int |
REAR
Port is on rear of vehicle.
|
int |
REAR_LEFT
Port is on rear left side of vehicle.
|
int |
REAR_RIGHT
Port is on rear right side of vehicle.
|
int |
UNKNOWN
List of port location types
|
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
FRONT
public static final int FRONT
Port is on front of vehicle.
Constant Value:
5
(0x00000005)
FRONT_LEFT
public static final int FRONT_LEFT
Port is on front left side of vehicle.
Constant Value:
1
(0x00000001)
FRONT_RIGHT
public static final int FRONT_RIGHT
Port is on front right side of vehicle.
Constant Value:
2
(0x00000002)
REAR
public static final int REAR
Port is on rear of vehicle.
Constant Value:
6
(0x00000006)
REAR_LEFT
public static final int REAR_LEFT
Port is on rear left side of vehicle.
Constant Value:
4
(0x00000004)
REAR_RIGHT
public static final int REAR_RIGHT
Port is on rear right side of vehicle.
Constant Value:
3
(0x00000003)
UNKNOWN
public static final int UNKNOWN
List of port location types
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,["# PortLocationType\n\nSummary: [Constants](#constants) \\| [Inherited Methods](#inhmethods) \n\nPortLocationType\n================\n\n\n`\npublic\n\nfinal\n\nclass\nPortLocationType\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------|\n| java.lang.Object ||\n| ↳ | android.car.PortLocationType |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nUsed by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or\nev port location.\nUse getProperty and setProperty in [CarPropertyManager](/reference/android/car/hardware/property/CarPropertyManager) to\nset and get this VHAL property.\n\nSummary\n-------\n\n| ### Constants ||\n|-------|------------------------------------------------------------------------------------------------------------|\n| `int` | [FRONT](/reference/android/car/PortLocationType#FRONT) Port is on front of vehicle. |\n| `int` | [FRONT_LEFT](/reference/android/car/PortLocationType#FRONT_LEFT) Port is on front left side of vehicle. |\n| `int` | [FRONT_RIGHT](/reference/android/car/PortLocationType#FRONT_RIGHT) Port is on front right side of vehicle. |\n| `int` | [REAR](/reference/android/car/PortLocationType#REAR) Port is on rear of vehicle. |\n| `int` | [REAR_LEFT](/reference/android/car/PortLocationType#REAR_LEFT) Port is on rear left side of vehicle. |\n| `int` | [REAR_RIGHT](/reference/android/car/PortLocationType#REAR_RIGHT) Port is on rear right side of vehicle. |\n| `int` | [UNKNOWN](/reference/android/car/PortLocationType#UNKNOWN) List of port location types |\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### FRONT\n\n```\npublic static final int FRONT\n```\n\nPort is on front of vehicle.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n5\n(0x00000005)\n\n\n### FRONT_LEFT\n\n```\npublic static final int FRONT_LEFT\n```\n\nPort is on front left side of vehicle.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)\n\n\n### FRONT_RIGHT\n\n```\npublic static final int FRONT_RIGHT\n```\n\nPort is on front right side of vehicle.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### REAR\n\n```\npublic static final int REAR\n```\n\nPort is on rear of vehicle.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n6\n(0x00000006)\n\n\n### REAR_LEFT\n\n```\npublic static final int REAR_LEFT\n```\n\nPort is on rear left side of vehicle.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n4\n(0x00000004)\n\n\n### REAR_RIGHT\n\n```\npublic static final int REAR_RIGHT\n```\n\nPort is on rear right side of vehicle.\n\n\u003cbr /\u003e\n\nConstant Value:\n\n3\n(0x00000003)\n\n\n### UNKNOWN\n\n```\npublic static final int UNKNOWN\n```\n\nList of port location types\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)"]]