1# JS API Changes of the Pan-Sensor Subsystem 2 3The table below lists the APIs changes of the pan-sensor subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1. 4 5## API Changes 6 7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type| 8|---|---|---|---| 9| ohos.sensor | SensorType | SENSOR_TYPE_ID_HEART_BEAT_RATE = 278 | Added| 10| ohos.sensor | SensorType | SENSOR_TYPE_ID_LINEAR_ACCELEROMETER = 258 | Added| 11| ohos.sensor | sensor | getSensorLists(callback: AsyncCallback\<Array\<Sensor>>): void;<br>getSensorLists(): Promise\<Array\<Sensor>>; | Added| 12| ohos.sensor | sensor | getSingleSensor(type: SensorType, callback: AsyncCallback\<Sensor>): void;<br>getSingleSensor(type: SensorType): Promise\<Sensor>; | Added| 13| ohos.sensor | Sensor | power:number; | Added| 14| ohos.sensor | Sensor | precision:number; | Added| 15| ohos.sensor | Sensor | maxRange:number; | Added| 16| ohos.sensor | Sensor | sensorTypeId:number; | Added| 17| ohos.sensor | Sensor | hardwareVersion:string; | Added| 18| ohos.sensor | Sensor | firmwareVersion:string; | Added| 19| ohos.sensor | Sensor | venderName:string; | Added| 20| ohos.sensor | Sensor | sensorName:string; | Added| 21| ohos.sensor | SensorType | SENSOR_TYPE_ID_HEART_RATE = 278 | Deprecated| 22| ohos.sensor | SensorType | SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258 | Deprecated| 23