CarSensorManager.OnSensorChangedListener
public
static
interface
CarSensorManager.OnSensorChangedListener
android.car.hardware.CarSensorManager.OnSensorChangedListener |
Listener for car sensor data change. Callbacks are called in the Looper context.
Summary
Public methods | |
---|---|
abstract
void
|
onSensorChanged(CarSensorEvent event)
Called when there is a new sensor data from car. |
Public methods
onSensorChanged
public abstract void onSensorChanged (CarSensorEvent event)
Called when there is a new sensor data from car.
Parameters | |
---|---|
event |
CarSensorEvent : Incoming sensor event for the given sensor type. |