js-apidiff-sensor.md 64.6 KB
Newer Older
W
wangqing 已提交
1 2
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
W
wangqing 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.ACCELEROMETER, callback: Callback\<AccelerometerResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.AMBIENT_LIGHT, callback: Callback\<LightResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.BAROMETER, callback: Callback\<BarometerResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.GRAVITY, callback: Callback\<GravityResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.GYROSCOPE, callback: Callback\<GyroscopeResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.HALL, callback: Callback\<HallResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.HEART_RATE, callback: Callback\<HeartRateResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.HUMIDITY, callback: Callback\<HumidityResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback\<LinearAccelerometerResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.ORIENTATION, callback: Callback\<OrientationResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.PEDOMETER, callback: Callback\<PedometerResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.PROXIMITY, callback: Callback\<ProximityResponse>, options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function on(type: SensorId.WEAR_DETECTION, callback: Callback\<WearDetectionResponse>,<br><br>        options?: Options): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.ACCELEROMETER, callback: Callback\<AccelerometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.AMBIENT_LIGHT, callback: Callback\<LightResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.BAROMETER, callback: Callback\<BarometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.GRAVITY, callback: Callback\<GravityResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.GYROSCOPE, callback: Callback\<GyroscopeResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.HALL, callback: Callback\<HallResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.HEART_RATE, callback: Callback\<HeartRateResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.HUMIDITY, callback: Callback\<HumidityResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback\<LinearAccelerometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.ORIENTATION, callback: Callback\<OrientationResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.PEDOMETER, callback: Callback\<PedometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.PROXIMITY, callback: Callback\<ProximityResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function once(type: SensorId.WEAR_DETECTION, callback: Callback\<WearDetectionResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.ACCELEROMETER, callback?: Callback\<AccelerometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback?: Callback\<AccelerometerUncalibratedResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.AMBIENT_LIGHT, callback?: Callback\<LightResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.AMBIENT_TEMPERATURE, callback?: Callback\<AmbientTemperatureResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.BAROMETER, callback?: Callback\<BarometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.GRAVITY, callback?: Callback\<GravityResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.GYROSCOPE, callback?: Callback\<GyroscopeResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.GYROSCOPE_UNCALIBRATED, callback?: Callback\<GyroscopeUncalibratedResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.HALL, callback?: Callback\<HallResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.HEART_RATE, callback?: Callback\<HeartRateResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.HUMIDITY, callback?: Callback\<HumidityResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.LINEAR_ACCELEROMETER, callback?: Callback\<LinearAccelerometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.MAGNETIC_FIELD, callback?: Callback\<MagneticFieldResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\<MagneticFieldUncalibratedResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.ORIENTATION, callback?: Callback\<OrientationResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.PEDOMETER, callback?: Callback\<PedometerResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.PEDOMETER_DETECTION, callback?: Callback\<PedometerDetectionResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.PROXIMITY, callback?: Callback\<ProximityResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.ROTATION_VECTOR, callback?: Callback\<RotationVectorResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.SIGNIFICANT_MOTION, callback?: Callback\<SignificantMotionResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function off(type: SensorId.WEAR_DETECTION, callback?: Callback\<WearDetectionResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getSingleSensor(type: SensorId, callback: AsyncCallback\<Sensor>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getSingleSensor(type: SensorId): Promise\<Sensor>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getSensorList(callback: AsyncCallback\<Array\<Sensor>>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getSensorList(): Promise\<Array\<Sensor>>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\<GeomagneticResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number): Promise\<GeomagneticResponse>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getDeviceAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\<number>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getDeviceAltitude(seaPressure: number, currentPressure: number): Promise\<number>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getInclination(inclinationMatrix: Array\<number>, callback: AsyncCallback\<number>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getInclination(inclinationMatrix: Array\<number>): Promise\<number>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getAngleVariation(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>,<br><br>        callback: AsyncCallback\<Array\<number>>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getAngleVariation(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>): Promise\<Array\<number>>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getRotationMatrix(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getRotationMatrix(rotationVector: Array\<number>): Promise\<Array\<number>>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>, callback: AsyncCallback\<RotationMatrixResponse>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>): Promise\<RotationMatrixResponse>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function transformRotationMatrix(inRotationVector: Array\<number>, coordinates: CoordinatesOptions,<br><br>        callback: AsyncCallback\<Array\<number>>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function transformRotationMatrix(inRotationVector: Array\<number>, coordinates: CoordinatesOptions): Promise\<Array\<number>>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getQuaternion(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getQuaternion(rotationVector: Array\<number>): Promise\<Array\<number>>;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getOrientation(rotationMatrix: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;|@ohos.sensor.d.ts|
|新增|NA|类名:sensor;<br>方法or属性:function getOrientation(rotationMatrix: Array\<number>): Promise\<Array\<number>>;|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:ACCELEROMETER = 1|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:GYROSCOPE = 2|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:AMBIENT_LIGHT = 5|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:MAGNETIC_FIELD = 6|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:BAROMETER = 8|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:HALL = 10|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:PROXIMITY = 12|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:HUMIDITY = 13|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:ORIENTATION = 256|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:GRAVITY = 257|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:LINEAR_ACCELEROMETER = 258|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:ROTATION_VECTOR = 259|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:AMBIENT_TEMPERATURE = 260|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:MAGNETIC_FIELD_UNCALIBRATED = 261|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:GYROSCOPE_UNCALIBRATED = 263|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:SIGNIFICANT_MOTION = 264|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:PEDOMETER_DETECTION = 265|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:PEDOMETER = 266|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:HEART_RATE = 278|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:WEAR_DETECTION = 280|@ohos.sensor.d.ts|
|新增|NA|类名:SensorId;<br>方法or属性:ACCELEROMETER_UNCALIBRATED = 281|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:sensorName:string;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:vendorName:string;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:firmwareVersion:string;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:hardwareVersion:string;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:sensorId:number;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:maxRange:number;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:minSamplePeriod:number;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:maxSamplePeriod:number;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:precision:number;|@ohos.sensor.d.ts|
|新增|NA|类名:Sensor;<br>方法or属性:power:number;|@ohos.sensor.d.ts|
|新增|NA|类名:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\<void>): void;|@ohos.vibrator.d.ts|
|新增|NA|类名:vibrator;<br>方法or属性:function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\<void>;|@ohos.vibrator.d.ts|
|新增|NA|类名:vibrator;<br>方法or属性:function stopVibration(stopMode: VibratorStopMode): Promise\<void>;|@ohos.vibrator.d.ts|
|新增|NA|类名:vibrator;<br>方法or属性:function stopVibration(stopMode: VibratorStopMode, callback: AsyncCallback\<void>): void;|@ohos.vibrator.d.ts|
|新增|NA|类名:vibrator;<br>方法or属性:type Usage = "unknown" \| "alarm" \| "ring" \| "notification" \| "communication" \|<br><br>        "touch" \| "media" \| "physicalFeedback" \| "simulateReality";|@ohos.vibrator.d.ts|
|新增|NA|类名:vibrator;<br>方法or属性:type VibrateEffect = VibrateTime \| VibratePreset;|@ohos.vibrator.d.ts|
|新增|NA|类名:VibrateAttribute;<br>方法or属性:id?: number,|@ohos.vibrator.d.ts|
|新增|NA|类名:VibrateAttribute;<br>方法or属性:usage: Usage,|@ohos.vibrator.d.ts|
|新增|NA|类名:VibrateTime;<br>方法or属性:type: "time";|@ohos.vibrator.d.ts|
|新增|NA|类名:VibrateTime;<br>方法or属性:duration: number;|@ohos.vibrator.d.ts|
|新增|NA|类名:VibratePreset;<br>方法or属性:type: "preset";|@ohos.vibrator.d.ts|
|新增|NA|类名:VibratePreset;<br>方法or属性:effectId: string;|@ohos.vibrator.d.ts|
|新增|NA|类名:VibratePreset;<br>方法or属性:count: number;|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\<AccelerometerResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\<AccelerometerResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ACCELEROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\<LightResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\<LightResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.AMBIENT_LIGHT|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.AMBIENT_TEMPERATURE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\<BarometerResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\<BarometerResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.BAROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\<GravityResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\<GravityResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GRAVITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\<GyroscopeResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\<GyroscopeResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GYROSCOPE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\<HallResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\<HallResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HALL|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HEART_RATE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\<HumidityResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\<HumidityResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HUMIDITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\<LinearAccelerometerResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\<LinearAccelerometerResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.LINEAR_ACCELEROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.MAGNETIC_FIELD|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\<OrientationResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\<OrientationResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ORIENTATION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\<PedometerResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\<PedometerResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PEDOMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PEDOMETER_DETECTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\<ProximityResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\<ProximityResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PROXIMITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ROTATION_VECTOR|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.SIGNIFICANT_MOTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\<WearDetectionResponse>,<br><br>        options?: Options): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\<WearDetectionResponse>,<br><br>        options?: Options): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.WEAR_DETECTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\<AccelerometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\<AccelerometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ACCELEROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\<AccelerometerUncalibratedResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\<LightResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\<LightResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.AMBIENT_LIGHT|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\<AmbientTemperatureResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.AMBIENT_TEMPERATURE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\<BarometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\<BarometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.BAROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\<GravityResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\<GravityResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GRAVITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\<GyroscopeResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\<GyroscopeResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GYROSCOPE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\<GyroscopeUncalibratedResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\<HallResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\<HallResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HALL|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HEART_RATE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\<HumidityResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\<HumidityResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HUMIDITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\<LinearAccelerometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\<LinearAccelerometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.LINEAR_ACCELEROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\<MagneticFieldResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.MAGNETIC_FIELD|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\<MagneticFieldUncalibratedResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\<OrientationResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\<OrientationResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ORIENTATION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\<PedometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\<PedometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PEDOMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\<PedometerDetectionResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PEDOMETER_DETECTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\<ProximityResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\<ProximityResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PROXIMITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\<RotationVectorResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ROTATION_VECTOR|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\<SignificantMotionResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.SIGNIFICANT_MOTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\<WearDetectionResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\<WearDetectionResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.WEAR_DETECTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback\<AccelerometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback\<AccelerometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ACCELEROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,<br><br>        callback?: Callback\<AccelerometerUncalibratedResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,<br><br>        callback?: Callback\<AccelerometerUncalibratedResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback\<LightResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback\<LightResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.AMBIENT_LIGHT|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback\<AmbientTemperatureResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback\<AmbientTemperatureResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.AMBIENT_TEMPERATURE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback\<BarometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback\<BarometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.BAROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback\<GravityResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback\<GravityResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GRAVITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback\<GyroscopeResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback\<GyroscopeResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GYROSCOPE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback\<GyroscopeUncalibratedResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback\<GyroscopeUncalibratedResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback\<HallResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback\<HallResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HALL|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\<HeartRateResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\<HeartRateResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HEART_RATE|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback\<HumidityResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback\<HumidityResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.HUMIDITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback\<LinearAccelerometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback\<LinearAccelerometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.LINEAR_ACCELEROMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback\<MagneticFieldResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback\<MagneticFieldResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.MAGNETIC_FIELD|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\<MagneticFieldUncalibratedResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\<MagneticFieldUncalibratedResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback\<OrientationResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback\<OrientationResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ORIENTATION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback\<PedometerResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback\<PedometerResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PEDOMETER|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback\<PedometerDetectionResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback\<PedometerDetectionResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PEDOMETER_DETECTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback\<ProximityResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback\<ProximityResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.PROXIMITY|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback\<RotationVectorResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback\<RotationVectorResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.ROTATION_VECTOR|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback\<SignificantMotionResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback\<SignificantMotionResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.SIGNIFICANT_MOTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback\<WearDetectionResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback\<WearDetectionResponse>): void;<br>新版本信息:9<br>代替接口: sensor#event:SensorId.WEAR_DETECTION|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\<GeomagneticResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\<GeomagneticResponse>): void;<br>新版本信息:9<br>代替接口: sensor#getGeomagneticInfo|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise\<GeomagneticResponse>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise\<GeomagneticResponse>;<br>新版本信息:9<br>代替接口: sensor#getGeomagneticInfo|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: sensor#getDeviceAltitude|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getAltitude(seaPressure: number, currentPressure: number): Promise\<number>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getAltitude(seaPressure: number, currentPressure: number): Promise\<number>;<br>新版本信息:9<br>代替接口: sensor#getDeviceAltitude|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getGeomagneticDip(inclinationMatrix: Array\<number>, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getGeomagneticDip(inclinationMatrix: Array\<number>, callback: AsyncCallback\<number>): void;<br>新版本信息:9<br>代替接口: sensor#getInclination|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getGeomagneticDip(inclinationMatrix: Array\<number>): Promise\<number>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getGeomagneticDip(inclinationMatrix: Array\<number>): Promise\<number>;<br>新版本信息:9<br>代替接口: sensor#getInclination|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getAngleModify(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>,<br><br>        callback: AsyncCallback\<Array\<number>>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getAngleModify(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>,<br><br>        callback: AsyncCallback\<Array\<number>>): void;<br>新版本信息:9<br>代替接口: sensor#getAngleVariation|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getAngleModify(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>): Promise\<Array\<number>>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getAngleModify(currentRotationMatrix: Array\<number>, preRotationMatrix: Array\<number>): Promise\<Array\<number>>;<br>新版本信息:9<br>代替接口: sensor#getAngleVariation|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function createRotationMatrix(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function createRotationMatrix(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>新版本信息:9<br>代替接口: sensor#getRotationMatrix|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function createRotationMatrix(rotationVector: Array\<number>): Promise\<Array\<number>>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function createRotationMatrix(rotationVector: Array\<number>): Promise\<Array\<number>>;<br>新版本信息:9<br>代替接口: sensor#getRotationMatrix|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function createRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>, callback: AsyncCallback\<RotationMatrixResponse>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function createRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>, callback: AsyncCallback\<RotationMatrixResponse>): void;<br>新版本信息:9<br>代替接口: sensor#getRotationMatrix|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function createRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>,): Promise\<RotationMatrixResponse>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function createRotationMatrix(gravity: Array\<number>, geomagnetic: Array\<number>,): Promise\<RotationMatrixResponse>;<br>新版本信息:9<br>代替接口: sensor#getRotationMatrix|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function transformCoordinateSystem(inRotationVector: Array\<number>, coordinates: CoordinatesOptions,<br><br>        callback: AsyncCallback\<Array\<number>>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function transformCoordinateSystem(inRotationVector: Array\<number>, coordinates: CoordinatesOptions,<br><br>        callback: AsyncCallback\<Array\<number>>): void;<br>新版本信息:9<br>代替接口: sensor#transformRotationMatrix|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function transformCoordinateSystem(inRotationVector: Array\<number>, coordinates: CoordinatesOptions): Promise\<Array\<number>>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function transformCoordinateSystem(inRotationVector: Array\<number>, coordinates: CoordinatesOptions): Promise\<Array\<number>>;<br>新版本信息:9<br>代替接口: sensor#transformRotationMatrix|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function createQuaternion(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function createQuaternion(rotationVector: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>新版本信息:9<br>代替接口: sensor#getQuaternion|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function createQuaternion(rotationVector: Array\<number>): Promise\<Array\<number>>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function createQuaternion(rotationVector: Array\<number>): Promise\<Array\<number>>;<br>新版本信息:9<br>代替接口: sensor#getQuaternion|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getDirection(rotationMatrix: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getDirection(rotationMatrix: Array\<number>, callback: AsyncCallback\<Array\<number>>): void;<br>新版本信息:9<br>代替接口: sensor#getOrientation|@ohos.sensor.d.ts|
|废弃版本有变化|类名:sensor;<br>方法or属性:function getDirection(rotationMatrix: Array\<number>): Promise\<Array\<number>>;<br>旧版本信息:|类名:sensor;<br>方法or属性:function getDirection(rotationMatrix: Array\<number>): Promise\<Array\<number>>;<br>新版本信息:9<br>代替接口: sensor#getOrientation|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:enum SensorType<br>旧版本信息:|类名:SensorType;<br>方法or属性:enum SensorType<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ACCELEROMETER = 1<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ACCELEROMETER = 1<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_GYROSCOPE = 2<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_GYROSCOPE = 2<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_AMBIENT_LIGHT = 5<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_AMBIENT_LIGHT = 5<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_MAGNETIC_FIELD = 6<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_MAGNETIC_FIELD = 6<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_BAROMETER = 8<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_BAROMETER = 8<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_HALL = 10<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_HALL = 10<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_PROXIMITY = 12<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_PROXIMITY = 12<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_HUMIDITY = 13<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_HUMIDITY = 13<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ORIENTATION = 256<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ORIENTATION = 256<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_GRAVITY = 257<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_GRAVITY = 257<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ROTATION_VECTOR = 259<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ROTATION_VECTOR = 259<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_AMBIENT_TEMPERATURE = 260<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_AMBIENT_TEMPERATURE = 260<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED = 261<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED = 261<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED = 263<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED = 263<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_SIGNIFICANT_MOTION = 264<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_SIGNIFICANT_MOTION = 264<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_PEDOMETER_DETECTION = 265<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_PEDOMETER_DETECTION = 265<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_PEDOMETER = 266<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_PEDOMETER = 266<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_HEART_RATE = 278<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_HEART_RATE = 278<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_WEAR_DETECTION = 280<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_WEAR_DETECTION = 280<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281<br>旧版本信息:|类名:SensorType;<br>方法or属性:SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281<br>新版本信息:9<br>代替接口: sensor.SensorId|@ohos.sensor.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function vibrate(duration: number, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(duration: number, callback?: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: vibrator#startVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(duration: number): Promise\<void>;<br>新版本信息:9<br>代替接口: vibrator#startVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId): Promise\<void>;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId): Promise\<void>;<br>新版本信息:9<br>代替接口: vibrator#startVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function vibrate(effectId: EffectId, callback?: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: vibrator#startVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode): Promise\<void>;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode): Promise\<void>;<br>新版本信息:9<br>代替接口: vibrator#stopVibration|@ohos.vibrator.d.ts|
|废弃版本有变化|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>旧版本信息:|类名:vibrator;<br>方法or属性:function stop(stopMode: VibratorStopMode, callback?: AsyncCallback\<void>): void;<br>新版本信息:9<br>代替接口: vibrator#stopVibration|@ohos.vibrator.d.ts|
|权限有变化|类名:sensor;<br>方法or属性:declare sensor<br>旧版本信息:ohos.permission.ACCELEROMETER,ohos.permission.GRYOSCOPE,ohos.permission.ACTIVITY_MOTION,ohos.permission.HEALTH_DATA|类名:sensor;<br>方法or属性:declare sensor<br>新版本信息:|@ohos.sensor.d.ts|
|权限有变化|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>,<br><br>        options?: Options): void;<br>旧版本信息:ohos.permission.READ_HEALTH_DATA|类名:sensor;<br>方法or属性:function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>,<br><br>        options?: Options): void;<br>新版本信息:ohos.permission.HEALTH_DATA|@ohos.sensor.d.ts|
|权限有变化|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>): void;<br>旧版本信息:ohos.permission.READ_HEALTH_DATA|类名:sensor;<br>方法or属性:function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\<HeartRateResponse>): void;<br>新版本信息:ohos.permission.HEART_RATE|@ohos.sensor.d.ts|
|权限有变化|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\<HeartRateResponse>): void;<br>旧版本信息:ohos.permission.READ_HEALTH_DATA|类名:sensor;<br>方法or属性:function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\<HeartRateResponse>): void;<br>新版本信息:ohos.permission.HEALTH_DATA|@ohos.sensor.d.ts|
|权限有变化|类名:vibrator;<br>方法or属性:declare vibrator<br>旧版本信息:ohos.permission.VIBRATE|类名:vibrator;<br>方法or属性:declare vibrator<br>新版本信息:|@ohos.vibrator.d.ts|