Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. 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.