Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る
Added in API level 29
Deprecated in API level 29

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

Added in API level 29
Deprecated in API level 29
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.