Added in API level 30

PropertyNotAvailableException

public class PropertyNotAvailableException
extends IllegalStateException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalStateException
           ↳ android.car.hardware.property.PropertyNotAvailableException


Exception thrown when the vehicle property is not available because of the current state of the vehicle.

For example, VehiclePropertyIds.HVAC_FAN_SPEED is unavailable because VehiclePropertyIds.HVAC_POWER_ON is false.

Summary

Inherited methods