Google 致力于为黑人社区推动种族平等。查看具体举措

Class Index

These are the API classes. See all API packages.

C

Car Top level car API for embedded Android Auto deployments. 
Car.CarServiceLifecycleListener Callback to notify the Lifecycle of car service. 
CarAppFocusManager CarAppFocusManager allows applications to set and listen for the current application focus like active navigation or active voice command. 
CarAppFocusManager.OnAppFocusChangedListener Listener to get notification for app getting information on application type status changes. 
CarAppFocusManager.OnAppFocusOwnershipCallback Listener to get notification for app getting information on app type ownership loss. 
CarAudioManager APIs for handling audio in a car. 
CarAudioManager.CarVolumeCallback Callback interface to receive volume change events in a car. 
CarConfigurationManager This class was deprecated in API level 30. The CarConfigurationManager is no longer supported and will be removed. 
CarInfoManager Utility to retrieve various static information from car. 
CarInternalErrorException Exception thrown when something unexpected happened in cars. 
CarNotConnectedException This class was deprecated in API level 29. No longer thrown by the Android API. Do not use in new code. 
CarOccupantZoneManager API to get information on displays and users in the car. 
CarOccupantZoneManager.OccupantZoneConfigChangeListener Listener to monitor any Occupant Zone configuration change. 
CarOccupantZoneManager.OccupantZoneInfo Represents an occupant zone in a car. 
CarPackageManager Provides car specific API related with package management. 
CarPropertyConfig<T> Represents general information about car property such as data type and min/max ranges for car areas (if applicable). 
CarPropertyManager Provides an application interface for interacting with the Vehicle specific properties. 
CarPropertyManager.CarPropertyEventCallback Application registers CarPropertyEventCallback object to receive updates and changes to subscribed Vehicle specific properties. 
CarPropertyValue<T> Stores values broken down by area for a vehicle property. 
CarPropertyValue.PropertyStatus Value is CarPropertyValue.STATUS_AVAILABLE, CarPropertyValue.STATUS_UNAVAILABLE, or CarPropertyValue.STATUS_ERROR 
CarSensorEvent This class was deprecated in API level 29. consider using ERROR(/android.car.hardware.property.CarPropertyEvent) instead. 
CarSensorEvent.EnvironmentData Environment data with timestamp and temperature. 
CarSensorManager This class was deprecated in API level 29. Use CarPropertyManager instead. API for monitoring car sensor data. 
CarSensorManager.OnSensorChangedListener Listener for car sensor data change. 
CarUxRestrictions Car UX Restrictions event. 
CarUxRestrictions.Builder Builder class for CarUxRestrictions 
CarUxRestrictions.CarUxRestrictionsInfo Value is either 0 or a combination of CarUxRestrictions.UX_RESTRICTIONS_BASELINE, CarUxRestrictions.UX_RESTRICTIONS_NO_DIALPAD, CarUxRestrictions.UX_RESTRICTIONS_NO_FILTERING, CarUxRestrictions.UX_RESTRICTIONS_LIMIT_STRING_LENGTH, CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD, CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO, CarUxRestrictions.UX_RESTRICTIONS_LIMIT_CONTENT, CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP, CarUxRestrictions.UX_RESTRICTIONS_NO_TEXT_MESSAGE, and CarUxRestrictions.UX_RESTRICTIONS_NO_VOICE_TRANSCRIPTION 
CarUxRestrictionsManager API to register and get the User Experience restrictions imposed based on the car's driving state. 
CarUxRestrictionsManager.OnUxRestrictionsChangedListener Listener Interface for clients to implement to get updated on driving state related changes. 

E

EvConnectorType EvConnectorType denotes the different connectors a EV may use. 

F

FuelType FuelType denotes the different fuels a vehicle may use. 

P

PortLocationType Used by INFO_FUEL_DOOR_LOCATION/INFO_CHARGE_PORT_LOCATION to enumerate fuel door or ev port location. 
PropertyAccessDeniedSecurityException Exception thrown when cars denied the access of properties. 
PropertyNotAvailableAndRetryException Exception thrown when device that associated with the vehicle property is temporarily not available. 
PropertyNotAvailableException Exception thrown when device that associated with the vehicle property is temporarily not available because of the current state of cars. 

S

SpeedBumpConfiguration This class was deprecated in API level 30. Speed bump configuration is no longer a support feature. 

V

VehicleAreaSeat Object used to indicate the area value for car properties which have area type VehicleAreaType#VEHICLE_AREA_TYPE_SEAT
VehicleAreaType Object used to indicate area types for car properties. 
VehicleAreaWheel Object used to indicate area value for car properties which have area type VehicleAreaType#VEHICLE_AREA_TYPE_WHEEL
VehicleGear List of enums for vehicle gears. 
VehiclePropertyIds Copy from android.hardware.automotive.vehicle-V2.0-java_gen_java/gen/android/hardware/automotive /vehicle/V2_0.