| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.ACCELEROMETER, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.AMBIENT_LIGHT, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.BAROMETER, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.GRAVITY, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.GYROSCOPE, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.HALL, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.HEART_RATE, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.HUMIDITY, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.MAGNETIC_FIELD, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.ORIENTATION, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.PEDOMETER, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.PEDOMETER_DETECTION, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.PROXIMITY, callback: Callback\, options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.ROTATION_VECTOR, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.SIGNIFICANT_MOTION, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function on(type: SensorId.WEAR_DETECTION, callback: Callback\,
options?: Options): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.ACCELEROMETER, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.AMBIENT_LIGHT, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.BAROMETER, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.GRAVITY, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.GYROSCOPE, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.HALL, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.HEART_RATE, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.HUMIDITY, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.MAGNETIC_FIELD, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.ORIENTATION, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.PEDOMETER, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.PROXIMITY, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.ROTATION_VECTOR, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function once(type: SensorId.WEAR_DETECTION, callback: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.ACCELEROMETER, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.AMBIENT_LIGHT, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.AMBIENT_TEMPERATURE, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.BAROMETER, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.GRAVITY, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.GYROSCOPE, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.GYROSCOPE_UNCALIBRATED, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.HALL, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.HEART_RATE, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.HUMIDITY, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.LINEAR_ACCELEROMETER, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.MAGNETIC_FIELD, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.ORIENTATION, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.PEDOMETER, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.PEDOMETER_DETECTION, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.PROXIMITY, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.ROTATION_VECTOR, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.SIGNIFICANT_MOTION, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function off(type: SensorId.WEAR_DETECTION, callback?: Callback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getSingleSensor(type: SensorId, callback: AsyncCallback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getSingleSensor(type: SensorId): Promise\;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getSensorList(callback: AsyncCallback\>): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getSensorList(): Promise\>;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number): Promise\;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getDeviceAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getDeviceAltitude(seaPressure: number, currentPressure: number): Promise\;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getInclination(inclinationMatrix: Array\, callback: AsyncCallback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getInclination(inclinationMatrix: Array\): Promise\;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getAngleVariation(currentRotationMatrix: Array\, preRotationMatrix: Array\,
callback: AsyncCallback\>): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getAngleVariation(currentRotationMatrix: Array\, preRotationMatrix: Array\): Promise\>;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getRotationMatrix(rotationVector: Array\, callback: AsyncCallback\>): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getRotationMatrix(rotationVector: Array\): Promise\>;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getRotationMatrix(gravity: Array\, geomagnetic: Array\, callback: AsyncCallback\): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getRotationMatrix(gravity: Array\, geomagnetic: Array\): Promise\;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function transformRotationMatrix(inRotationVector: Array\, coordinates: CoordinatesOptions,
callback: AsyncCallback\>): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function transformRotationMatrix(inRotationVector: Array\, coordinates: CoordinatesOptions): Promise\>;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getQuaternion(rotationVector: Array\, callback: AsyncCallback\>): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getQuaternion(rotationVector: Array\): Promise\>;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getOrientation(rotationMatrix: Array\, callback: AsyncCallback\>): void;|@ohos.sensor.d.ts|
|Added|NA|Class name: sensor;
Method or attribute name: function getOrientation(rotationMatrix: Array\): Promise\>;|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: ACCELEROMETER = 1|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: GYROSCOPE = 2|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: AMBIENT_LIGHT = 5|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: MAGNETIC_FIELD = 6|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: BAROMETER = 8|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: HALL = 10|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: PROXIMITY = 12|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: HUMIDITY = 13|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: ORIENTATION = 256|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: GRAVITY = 257|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: LINEAR_ACCELEROMETER = 258|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: ROTATION_VECTOR = 259|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: AMBIENT_TEMPERATURE = 260|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: MAGNETIC_FIELD_UNCALIBRATED = 261|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: GYROSCOPE_UNCALIBRATED = 263|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: SIGNIFICANT_MOTION = 264|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: PEDOMETER_DETECTION = 265|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: PEDOMETER = 266|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: HEART_RATE = 278|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: WEAR_DETECTION = 280|@ohos.sensor.d.ts|
|Added|NA|Class name: SensorId;
Method or attribute name: ACCELEROMETER_UNCALIBRATED = 281|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: sensorName:string;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: vendorName:string;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: firmwareVersion:string;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: hardwareVersion:string;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: sensorId:number;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: maxRange:number;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: minSamplePeriod:number;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: maxSamplePeriod:number;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: precision:number;|@ohos.sensor.d.ts|
|Added|NA|Class name: Sensor;
Method or attribute name: power:number;|@ohos.sensor.d.ts|
|Added|NA|Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback\): void;|@ohos.vibrator.d.ts|
|Added|NA|Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise\;|@ohos.vibrator.d.ts|
|Added|NA|Class name: vibrator;
Method or attribute name: function stopVibration(stopMode: VibratorStopMode): Promise\;|@ohos.vibrator.d.ts|
|Added|NA|Class name: vibrator;
Method or attribute name: function stopVibration(stopMode: VibratorStopMode, callback: AsyncCallback\): void;|@ohos.vibrator.d.ts|
|Added|NA|Class name: vibrator;
Method or attribute name: type Usage = "unknown" \| "alarm" \| "ring" \| "notification" \| "communication" \|
"touch" \| "media" \| "physicalFeedback" \| "simulateReality";|@ohos.vibrator.d.ts|
|Added|NA|Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime \| VibratePreset;|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibrateAttribute;
Method or attribute name: id?: number,|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibrateAttribute;
Method or attribute name: usage: Usage,|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibrateTime;
Method or attribute name: type: "time";|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibrateTime;
Method or attribute name: duration: number;|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibratePreset;
Method or attribute name: type: "preset";|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibratePreset;
Method or attribute name: effectId: string;|@ohos.vibrator.d.ts|
|Added|NA|Class name: VibratePreset;
Method or attribute name: count: number;|@ohos.vibrator.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.ACCELEROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.AMBIENT_LIGHT|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.AMBIENT_TEMPERATURE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.BAROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.GRAVITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.GYROSCOPE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.HALL|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.HEART_RATE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.HUMIDITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.LINEAR_ACCELEROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.MAGNETIC_FIELD|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.ORIENTATION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.PEDOMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.PEDOMETER_DETECTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.PROXIMITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.ROTATION_VECTOR|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.SIGNIFICANT_MOTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\,
options?: Options): void;
Old version: |Class name: sensor;
Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\,
options?: Options): void;
New version: 9
Substitute API: sensor#event:SensorId.WEAR_DETECTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ACCELEROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.AMBIENT_LIGHT|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.AMBIENT_TEMPERATURE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.BAROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.GRAVITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.GYROSCOPE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.HALL|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.HEART_RATE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.HUMIDITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.LINEAR_ACCELEROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.MAGNETIC_FIELD|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ORIENTATION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.PEDOMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.PEDOMETER_DETECTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.PROXIMITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ROTATION_VECTOR|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.SIGNIFICANT_MOTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.WEAR_DETECTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ACCELEROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,
callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED,
callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.AMBIENT_LIGHT|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.AMBIENT_TEMPERATURE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.BAROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.GRAVITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.GYROSCOPE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.HALL|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.HEART_RATE|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.HUMIDITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.LINEAR_ACCELEROMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.MAGNETIC_FIELD|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ORIENTATION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.PEDOMETER|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.PEDOMETER_DETECTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.PROXIMITY|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.ROTATION_VECTOR|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.SIGNIFICANT_MOTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback\): void;
Old version: |Class name: sensor;
Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback\): void;
New version: 9
Substitute API: sensor#event:SensorId.WEAR_DETECTION|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\): void;
Old version: |Class name: sensor;
Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback\): void;
New version: 9
Substitute API: sensor#getGeomagneticInfo|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise\;
Old version: |Class name: sensor;
Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise\;
New version: 9
Substitute API: sensor#getGeomagneticInfo|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\): void;
Old version: |Class name: sensor;
Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback\): void;
New version: 9
Substitute API: sensor#getDeviceAltitude|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number): Promise\;
Old version: |Class name: sensor;
Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number): Promise\;
New version: 9
Substitute API: sensor#getDeviceAltitude|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array\, callback: AsyncCallback\): void;
Old version: |Class name: sensor;
Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array\, callback: AsyncCallback\): void;
New version: 9
Substitute API: sensor#getInclination|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array\): Promise\;
Old version: |Class name: sensor;
Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array\): Promise\;
New version: 9
Substitute API: sensor#getInclination|@ohos.sensor.d.ts|
|Deprecated version changed|Class name: sensor;
Method or attribute name: function getAngleModify(currentRotationMatrix: Array\, preRotationMatrix: Array\,
callback: AsyncCallback\>): void;
Old version: |Class name: sensor;
Method or attribute name: function getAngleModify(currentRotationMatrix: Array\, preRotationMatrix: Array\,