Change Type Old Version New Version d.ts File
New API NA Class name: global;
API declaration: declare namespace sensor
Differences: declare namespace sensor
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: enum SensorId
Differences: enum SensorId
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: ACCELEROMETER = 1
Differences: ACCELEROMETER = 1
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: GYROSCOPE = 2
Differences: GYROSCOPE = 2
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: AMBIENT_LIGHT = 5
Differences: AMBIENT_LIGHT = 5
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: MAGNETIC_FIELD = 6
Differences: MAGNETIC_FIELD = 6
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: BAROMETER = 8
Differences: BAROMETER = 8
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: HALL = 10
Differences: HALL = 10
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: PROXIMITY = 12
Differences: PROXIMITY = 12
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: HUMIDITY = 13
Differences: HUMIDITY = 13
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: ORIENTATION = 256
Differences: ORIENTATION = 256
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: GRAVITY = 257
Differences: GRAVITY = 257
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: LINEAR_ACCELEROMETER = 258
Differences: LINEAR_ACCELEROMETER = 258
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: ROTATION_VECTOR = 259
Differences: ROTATION_VECTOR = 259
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: AMBIENT_TEMPERATURE = 260
Differences: AMBIENT_TEMPERATURE = 260
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: MAGNETIC_FIELD_UNCALIBRATED = 261
Differences: MAGNETIC_FIELD_UNCALIBRATED = 261
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: GYROSCOPE_UNCALIBRATED = 263
Differences: GYROSCOPE_UNCALIBRATED = 263
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: SIGNIFICANT_MOTION = 264
Differences: SIGNIFICANT_MOTION = 264
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: PEDOMETER_DETECTION = 265
Differences: PEDOMETER_DETECTION = 265
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: PEDOMETER = 266
Differences: PEDOMETER = 266
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: HEART_RATE = 278
Differences: HEART_RATE = 278
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: WEAR_DETECTION = 280
Differences: WEAR_DETECTION = 280
api/@ohos.sensor.d.ts
New API NA Class name: SensorId;
API declaration: ACCELEROMETER_UNCALIBRATED = 281
Differences: ACCELEROMETER_UNCALIBRATED = 281
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void;
Differences: function on(type: SensorId.ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void;
Differences: function on(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void;
Differences: function on(type: SensorId.AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void;
Differences: function on(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void;
Differences: function on(type: SensorId.BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.GRAVITY, callback: Callback<GravityResponse>, options?: Options): void;
Differences: function on(type: SensorId.GRAVITY, callback: Callback<GravityResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void;
Differences: function on(type: SensorId.GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void;
Differences: function on(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.HALL, callback: Callback<HallResponse>, options?: Options): void;
Differences: function on(type: SensorId.HALL, callback: Callback<HallResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void;
Differences: function on(type: SensorId.HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void;
Differences: function on(type: SensorId.HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback<LinearAccelerometerResponse>, options?: Options): void;
Differences: function on(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback<LinearAccelerometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void;
Differences: function on(type: SensorId.MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void;
Differences: function on(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void;
Differences: function on(type: SensorId.ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void;
Differences: function on(type: SensorId.PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void;
Differences: function on(type: SensorId.PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void;
Differences: function on(type: SensorId.PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void;
Differences: function on(type: SensorId.ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void;
Differences: function on(type: SensorId.SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorId.WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void;
Differences: function on(type: SensorId.WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.ACCELEROMETER, callback: Callback<AccelerometerResponse>): void;
Differences: function once(type: SensorId.ACCELEROMETER, callback: Callback<AccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void;
Differences: function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.AMBIENT_LIGHT, callback: Callback<LightResponse>): void;
Differences: function once(type: SensorId.AMBIENT_LIGHT, callback: Callback<LightResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void;
Differences: function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.BAROMETER, callback: Callback<BarometerResponse>): void;
Differences: function once(type: SensorId.BAROMETER, callback: Callback<BarometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.GRAVITY, callback: Callback<GravityResponse>): void;
Differences: function once(type: SensorId.GRAVITY, callback: Callback<GravityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.GYROSCOPE, callback: Callback<GyroscopeResponse>): void;
Differences: function once(type: SensorId.GYROSCOPE, callback: Callback<GyroscopeResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void;
Differences: function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.HALL, callback: Callback<HallResponse>): void;
Differences: function once(type: SensorId.HALL, callback: Callback<HallResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.HEART_RATE, callback: Callback<HeartRateResponse>): void;
Differences: function once(type: SensorId.HEART_RATE, callback: Callback<HeartRateResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.HUMIDITY, callback: Callback<HumidityResponse>): void;
Differences: function once(type: SensorId.HUMIDITY, callback: Callback<HumidityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback<LinearAccelerometerResponse>): void;
Differences: function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback<LinearAccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void;
Differences: function once(type: SensorId.MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void;
Differences: function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.ORIENTATION, callback: Callback<OrientationResponse>): void;
Differences: function once(type: SensorId.ORIENTATION, callback: Callback<OrientationResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.PEDOMETER, callback: Callback<PedometerResponse>): void;
Differences: function once(type: SensorId.PEDOMETER, callback: Callback<PedometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void;
Differences: function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.PROXIMITY, callback: Callback<ProximityResponse>): void;
Differences: function once(type: SensorId.PROXIMITY, callback: Callback<ProximityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void;
Differences: function once(type: SensorId.ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void;
Differences: function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorId.WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void;
Differences: function once(type: SensorId.WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void;
Differences: function off(type: SensorId.ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void;
Differences: function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.AMBIENT_LIGHT, callback?: Callback<LightResponse>): void;
Differences: function off(type: SensorId.AMBIENT_LIGHT, callback?: Callback<LightResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void;
Differences: function off(type: SensorId.AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.BAROMETER, callback?: Callback<BarometerResponse>): void;
Differences: function off(type: SensorId.BAROMETER, callback?: Callback<BarometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.GRAVITY, callback?: Callback<GravityResponse>): void;
Differences: function off(type: SensorId.GRAVITY, callback?: Callback<GravityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.GYROSCOPE, callback?: Callback<GyroscopeResponse>): void;
Differences: function off(type: SensorId.GYROSCOPE, callback?: Callback<GyroscopeResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void;
Differences: function off(type: SensorId.GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.HALL, callback?: Callback<HallResponse>): void;
Differences: function off(type: SensorId.HALL, callback?: Callback<HallResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.HEART_RATE, callback?: Callback<HeartRateResponse>): void;
Differences: function off(type: SensorId.HEART_RATE, callback?: Callback<HeartRateResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.HUMIDITY, callback?: Callback<HumidityResponse>): void;
Differences: function off(type: SensorId.HUMIDITY, callback?: Callback<HumidityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.LINEAR_ACCELEROMETER, callback?: Callback<LinearAccelerometerResponse>): void;
Differences: function off(type: SensorId.LINEAR_ACCELEROMETER, callback?: Callback<LinearAccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void;
Differences: function off(type: SensorId.MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void;
Differences: function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.ORIENTATION, callback?: Callback<OrientationResponse>): void;
Differences: function off(type: SensorId.ORIENTATION, callback?: Callback<OrientationResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.PEDOMETER, callback?: Callback<PedometerResponse>): void;
Differences: function off(type: SensorId.PEDOMETER, callback?: Callback<PedometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void;
Differences: function off(type: SensorId.PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.PROXIMITY, callback?: Callback<ProximityResponse>): void;
Differences: function off(type: SensorId.PROXIMITY, callback?: Callback<ProximityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void;
Differences: function off(type: SensorId.ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void;
Differences: function off(type: SensorId.SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorId.WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void;
Differences: function off(type: SensorId.WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void;
Differences: function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void;
Differences: function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback<LightResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback<LightResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback<BarometerResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback<BarometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback<GravityResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback<GravityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback<GyroscopeResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback<GyroscopeResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback<HallResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback<HallResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback<HumidityResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback<HumidityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback<LinearAccelerometerResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback<LinearAccelerometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback<OrientationResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback<OrientationResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback<PedometerResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback<PedometerResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback<ProximityResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback<ProximityResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void;
Differences: function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface Sensor
Differences: interface Sensor
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: sensorName: string;
Differences: sensorName: string;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: vendorName: string;
Differences: vendorName: string;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: firmwareVersion: string;
Differences: firmwareVersion: string;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: hardwareVersion: string;
Differences: hardwareVersion: string;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: sensorId: number;
Differences: sensorId: number;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: maxRange: number;
Differences: maxRange: number;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: minSamplePeriod: number;
Differences: minSamplePeriod: number;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: maxSamplePeriod: number;
Differences: maxSamplePeriod: number;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: precision: number;
Differences: precision: number;
api/@ohos.sensor.d.ts
New API NA Class name: Sensor;
API declaration: power: number;
Differences: power: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getSingleSensor(type: SensorId, callback: AsyncCallback<Sensor>): void;
Differences: function getSingleSensor(type: SensorId, callback: AsyncCallback<Sensor>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getSingleSensor(type: SensorId): Promise<Sensor>;
Differences: function getSingleSensor(type: SensorId): Promise<Sensor>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getSensorList(callback: AsyncCallback<Array<Sensor>>): void;
Differences: function getSensorList(callback: AsyncCallback<Array<Sensor>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getSensorList(): Promise<Array<Sensor>>;
Differences: function getSensorList(): Promise<Array<Sensor>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface GeomagneticResponse
Differences: interface GeomagneticResponse
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: geomagneticDip: number;
Differences: geomagneticDip: number;
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: deflectionAngle: number;
Differences: deflectionAngle: number;
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: levelIntensity: number;
Differences: levelIntensity: number;
api/@ohos.sensor.d.ts
New API NA Class name: GeomagneticResponse;
API declaration: totalIntensity: number;
Differences: totalIntensity: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface LocationOptions
Differences: interface LocationOptions
api/@ohos.sensor.d.ts
New API NA Class name: LocationOptions;
API declaration: latitude: number;
Differences: latitude: number;
api/@ohos.sensor.d.ts
New API NA Class name: LocationOptions;
API declaration: longitude: number;
Differences: longitude: number;
api/@ohos.sensor.d.ts
New API NA Class name: LocationOptions;
API declaration: altitude: number;
Differences: altitude: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void;
Differences: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>;
Differences: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void;
Differences: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>;
Differences: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void;
Differences: function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getAltitude(seaPressure: number, currentPressure: number): Promise<number>;
Differences: function getAltitude(seaPressure: number, currentPressure: number): Promise<number>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getDeviceAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void;
Differences: function getDeviceAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getDeviceAltitude(seaPressure: number, currentPressure: number): Promise<number>;
Differences: function getDeviceAltitude(seaPressure: number, currentPressure: number): Promise<number>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getGeomagneticDip(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void;
Differences: function getGeomagneticDip(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>;
Differences: function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getInclination(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void;
Differences: function getInclination(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getInclination(inclinationMatrix: Array<number>): Promise<number>;
Differences: function getInclination(inclinationMatrix: Array<number>): Promise<number>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;
Differences: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getAngleVariation(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function getAngleVariation(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getAngleVariation(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;
Differences: function getAngleVariation(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function createRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function createRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;
Differences: function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void;
Differences: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>): Promise<RotationMatrixResponse>;
Differences: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>): Promise<RotationMatrixResponse>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function getRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;
Differences: function getRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void;
Differences: function getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>): Promise<RotationMatrixResponse>;
Differences: function getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>): Promise<RotationMatrixResponse>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface CoordinatesOptions
Differences: interface CoordinatesOptions
api/@ohos.sensor.d.ts
New API NA Class name: CoordinatesOptions;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: CoordinatesOptions;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void;
Differences: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>;
Differences: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function transformRotationMatrix(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void;
Differences: function transformRotationMatrix(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function transformRotationMatrix(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>;
Differences: function transformRotationMatrix(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function createQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function createQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>;
Differences: function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function getQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getQuaternion(rotationVector: Array<number>): Promise<Array<number>>;
Differences: function getQuaternion(rotationVector: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getDirection(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function getDirection(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>;
Differences: function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getOrientation(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
Differences: function getOrientation(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: function getOrientation(rotationMatrix: Array<number>): Promise<Array<number>>;
Differences: function getOrientation(rotationMatrix: Array<number>): Promise<Array<number>>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface RotationMatrixResponse
Differences: interface RotationMatrixResponse
api/@ohos.sensor.d.ts
New API NA Class name: RotationMatrixResponse;
API declaration: rotation: Array<number>;
Differences: rotation: Array<number>;
api/@ohos.sensor.d.ts
New API NA Class name: RotationMatrixResponse;
API declaration: inclination: Array<number>;
Differences: inclination: Array<number>;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface Options
Differences: interface Options
api/@ohos.sensor.d.ts
New API NA Class name: Options;
API declaration: interval?: number | SensorFrequency;
Differences: interval?: number | SensorFrequency;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: type SensorFrequency = 'game' | 'ui' | 'normal';
Differences: type SensorFrequency = 'game' | 'ui' | 'normal';
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: enum SensorType
Differences: enum SensorType
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_ACCELEROMETER = 1
Differences: SENSOR_TYPE_ID_ACCELEROMETER = 1
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_GYROSCOPE = 2
Differences: SENSOR_TYPE_ID_GYROSCOPE = 2
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_AMBIENT_LIGHT = 5
Differences: SENSOR_TYPE_ID_AMBIENT_LIGHT = 5
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_MAGNETIC_FIELD = 6
Differences: SENSOR_TYPE_ID_MAGNETIC_FIELD = 6
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_BAROMETER = 8
Differences: SENSOR_TYPE_ID_BAROMETER = 8
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_HALL = 10
Differences: SENSOR_TYPE_ID_HALL = 10
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_PROXIMITY = 12
Differences: SENSOR_TYPE_ID_PROXIMITY = 12
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_HUMIDITY = 13
Differences: SENSOR_TYPE_ID_HUMIDITY = 13
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_ORIENTATION = 256
Differences: SENSOR_TYPE_ID_ORIENTATION = 256
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_GRAVITY = 257
Differences: SENSOR_TYPE_ID_GRAVITY = 257
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258
Differences: SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_ROTATION_VECTOR = 259
Differences: SENSOR_TYPE_ID_ROTATION_VECTOR = 259
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_AMBIENT_TEMPERATURE = 260
Differences: SENSOR_TYPE_ID_AMBIENT_TEMPERATURE = 260
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED = 261
Differences: SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED = 261
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED = 263
Differences: SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED = 263
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_SIGNIFICANT_MOTION = 264
Differences: SENSOR_TYPE_ID_SIGNIFICANT_MOTION = 264
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_PEDOMETER_DETECTION = 265
Differences: SENSOR_TYPE_ID_PEDOMETER_DETECTION = 265
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_PEDOMETER = 266
Differences: SENSOR_TYPE_ID_PEDOMETER = 266
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_HEART_RATE = 278
Differences: SENSOR_TYPE_ID_HEART_RATE = 278
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_WEAR_DETECTION = 280
Differences: SENSOR_TYPE_ID_WEAR_DETECTION = 280
api/@ohos.sensor.d.ts
New API NA Class name: SensorType;
API declaration: SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281
Differences: SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: enum SensorAccuracy
Differences: enum SensorAccuracy
api/@ohos.sensor.d.ts
New API NA Class name: SensorAccuracy;
API declaration: ACCURACY_UNRELIABLE = 0
Differences: ACCURACY_UNRELIABLE = 0
api/@ohos.sensor.d.ts
New API NA Class name: SensorAccuracy;
API declaration: ACCURACY_LOW = 1
Differences: ACCURACY_LOW = 1
api/@ohos.sensor.d.ts
New API NA Class name: SensorAccuracy;
API declaration: ACCURACY_MEDIUM = 2
Differences: ACCURACY_MEDIUM = 2
api/@ohos.sensor.d.ts
New API NA Class name: SensorAccuracy;
API declaration: ACCURACY_HIGH = 3
Differences: ACCURACY_HIGH = 3
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface Response
Differences: interface Response
api/@ohos.sensor.d.ts
New API NA Class name: Response;
API declaration: timestamp: number;
Differences: timestamp: number;
api/@ohos.sensor.d.ts
New API NA Class name: Response;
API declaration: accuracy: SensorAccuracy;
Differences: accuracy: SensorAccuracy;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface AccelerometerResponse
Differences: interface AccelerometerResponse
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface LinearAccelerometerResponse
Differences: interface LinearAccelerometerResponse
api/@ohos.sensor.d.ts
New API NA Class name: LinearAccelerometerResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: LinearAccelerometerResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: LinearAccelerometerResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface AccelerometerUncalibratedResponse
Differences: interface AccelerometerUncalibratedResponse
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerUncalibratedResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerUncalibratedResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerUncalibratedResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerUncalibratedResponse;
API declaration: biasX: number;
Differences: biasX: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerUncalibratedResponse;
API declaration: biasY: number;
Differences: biasY: number;
api/@ohos.sensor.d.ts
New API NA Class name: AccelerometerUncalibratedResponse;
API declaration: biasZ: number;
Differences: biasZ: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface GravityResponse
Differences: interface GravityResponse
api/@ohos.sensor.d.ts
New API NA Class name: GravityResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: GravityResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: GravityResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface OrientationResponse
Differences: interface OrientationResponse
api/@ohos.sensor.d.ts
New API NA Class name: OrientationResponse;
API declaration: alpha: number;
Differences: alpha: number;
api/@ohos.sensor.d.ts
New API NA Class name: OrientationResponse;
API declaration: beta: number;
Differences: beta: number;
api/@ohos.sensor.d.ts
New API NA Class name: OrientationResponse;
API declaration: gamma: number;
Differences: gamma: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface RotationVectorResponse
Differences: interface RotationVectorResponse
api/@ohos.sensor.d.ts
New API NA Class name: RotationVectorResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: RotationVectorResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: RotationVectorResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: RotationVectorResponse;
API declaration: w: number;
Differences: w: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface GyroscopeResponse
Differences: interface GyroscopeResponse
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface GyroscopeUncalibratedResponse
Differences: interface GyroscopeUncalibratedResponse
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeUncalibratedResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeUncalibratedResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeUncalibratedResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeUncalibratedResponse;
API declaration: biasX: number;
Differences: biasX: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeUncalibratedResponse;
API declaration: biasY: number;
Differences: biasY: number;
api/@ohos.sensor.d.ts
New API NA Class name: GyroscopeUncalibratedResponse;
API declaration: biasZ: number;
Differences: biasZ: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface SignificantMotionResponse
Differences: interface SignificantMotionResponse
api/@ohos.sensor.d.ts
New API NA Class name: SignificantMotionResponse;
API declaration: scalar: number;
Differences: scalar: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface ProximityResponse
Differences: interface ProximityResponse
api/@ohos.sensor.d.ts
New API NA Class name: ProximityResponse;
API declaration: distance: number;
Differences: distance: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface LightResponse
Differences: interface LightResponse
api/@ohos.sensor.d.ts
New API NA Class name: LightResponse;
API declaration: intensity: number;
Differences: intensity: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface HallResponse
Differences: interface HallResponse
api/@ohos.sensor.d.ts
New API NA Class name: HallResponse;
API declaration: status: number;
Differences: status: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface MagneticFieldResponse
Differences: interface MagneticFieldResponse
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface MagneticFieldUncalibratedResponse
Differences: interface MagneticFieldUncalibratedResponse
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldUncalibratedResponse;
API declaration: x: number;
Differences: x: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldUncalibratedResponse;
API declaration: y: number;
Differences: y: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldUncalibratedResponse;
API declaration: z: number;
Differences: z: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldUncalibratedResponse;
API declaration: biasX: number;
Differences: biasX: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldUncalibratedResponse;
API declaration: biasY: number;
Differences: biasY: number;
api/@ohos.sensor.d.ts
New API NA Class name: MagneticFieldUncalibratedResponse;
API declaration: biasZ: number;
Differences: biasZ: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface PedometerResponse
Differences: interface PedometerResponse
api/@ohos.sensor.d.ts
New API NA Class name: PedometerResponse;
API declaration: steps: number;
Differences: steps: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface HumidityResponse
Differences: interface HumidityResponse
api/@ohos.sensor.d.ts
New API NA Class name: HumidityResponse;
API declaration: humidity: number;
Differences: humidity: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface PedometerDetectionResponse
Differences: interface PedometerDetectionResponse
api/@ohos.sensor.d.ts
New API NA Class name: PedometerDetectionResponse;
API declaration: scalar: number;
Differences: scalar: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface AmbientTemperatureResponse
Differences: interface AmbientTemperatureResponse
api/@ohos.sensor.d.ts
New API NA Class name: AmbientTemperatureResponse;
API declaration: temperature: number;
Differences: temperature: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface BarometerResponse
Differences: interface BarometerResponse
api/@ohos.sensor.d.ts
New API NA Class name: BarometerResponse;
API declaration: pressure: number;
Differences: pressure: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface HeartRateResponse
Differences: interface HeartRateResponse
api/@ohos.sensor.d.ts
New API NA Class name: HeartRateResponse;
API declaration: heartRate: number;
Differences: heartRate: number;
api/@ohos.sensor.d.ts
New API NA Class name: sensor;
API declaration: interface WearDetectionResponse
Differences: interface WearDetectionResponse
api/@ohos.sensor.d.ts
New API NA Class name: WearDetectionResponse;
API declaration: value: number;
Differences: value: number;
api/@ohos.sensor.d.ts
New API NA Class name: global;
API declaration: declare namespace vibrator
Differences: declare namespace vibrator
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function vibrate(duration: number, callback?: AsyncCallback<void>): void;
Differences: function vibrate(duration: number, callback?: AsyncCallback<void>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function vibrate(duration: number): Promise<void>;
Differences: function vibrate(duration: number): Promise<void>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function vibrate(effectId: EffectId): Promise<void>;
Differences: function vibrate(effectId: EffectId): Promise<void>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void;
Differences: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback<void>): void;
Differences: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback<void>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise<void>;
Differences: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise<void>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function stopVibration(stopMode: VibratorStopMode): Promise<void>;
Differences: function stopVibration(stopMode: VibratorStopMode): Promise<void>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function stopVibration(stopMode: VibratorStopMode, callback: AsyncCallback<void>): void;
Differences: function stopVibration(stopMode: VibratorStopMode, callback: AsyncCallback<void>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function stopVibration(callback: AsyncCallback<void>): void;
Differences: function stopVibration(callback: AsyncCallback<void>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function stopVibration(): Promise<void>;
Differences: function stopVibration(): Promise<void>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function isSupportEffect(effectId: string, callback: AsyncCallback<boolean>): void;
Differences: function isSupportEffect(effectId: string, callback: AsyncCallback<boolean>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function isSupportEffect(effectId: string): Promise<boolean>;
Differences: function isSupportEffect(effectId: string): Promise<boolean>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function stop(stopMode: VibratorStopMode): Promise<void>;
Differences: function stop(stopMode: VibratorStopMode): Promise<void>;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void;
Differences: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: enum EffectId
Differences: enum EffectId
api/@ohos.vibrator.d.ts
New API NA Class name: EffectId;
API declaration: EFFECT_CLOCK_TIMER = 'haptic.clock.timer'
Differences: EFFECT_CLOCK_TIMER = 'haptic.clock.timer'
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: enum VibratorStopMode
Differences: enum VibratorStopMode
api/@ohos.vibrator.d.ts
New API NA Class name: VibratorStopMode;
API declaration: VIBRATOR_STOP_MODE_TIME = 'time'
Differences: VIBRATOR_STOP_MODE_TIME = 'time'
api/@ohos.vibrator.d.ts
New API NA Class name: VibratorStopMode;
API declaration: VIBRATOR_STOP_MODE_PRESET = 'preset'
Differences: VIBRATOR_STOP_MODE_PRESET = 'preset'
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: type Usage = 'unknown' | 'alarm' | 'ring' | 'notification' | 'communication' | 'touch' | 'media' | 'physicalFeedback' | 'simulateReality';
Differences: type Usage = 'unknown' | 'alarm' | 'ring' | 'notification' | 'communication' | 'touch' | 'media' | 'physicalFeedback' | 'simulateReality';
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: interface VibrateAttribute
Differences: interface VibrateAttribute
api/@ohos.vibrator.d.ts
New API NA Class name: VibrateAttribute;
API declaration: id?: number;
Differences: id?: number;
api/@ohos.vibrator.d.ts
New API NA Class name: VibrateAttribute;
API declaration: usage: Usage;
Differences: usage: Usage;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: type VibrateEffect = VibrateTime | VibratePreset | VibrateFromFile;
Differences: type VibrateEffect = VibrateTime | VibratePreset | VibrateFromFile;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: interface VibrateTime
Differences: interface VibrateTime
api/@ohos.vibrator.d.ts
New API NA Class name: VibrateTime;
API declaration: type: 'time';
Differences: type: 'time';
api/@ohos.vibrator.d.ts
New API NA Class name: VibrateTime;
API declaration: duration: number;
Differences: duration: number;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: interface VibratePreset
Differences: interface VibratePreset
api/@ohos.vibrator.d.ts
New API NA Class name: VibratePreset;
API declaration: type: 'preset';
Differences: type: 'preset';
api/@ohos.vibrator.d.ts
New API NA Class name: VibratePreset;
API declaration: effectId: string;
Differences: effectId: string;
api/@ohos.vibrator.d.ts
New API NA Class name: VibratePreset;
API declaration: count: number;
Differences: count: number;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: interface VibrateFromFile
Differences: interface VibrateFromFile
api/@ohos.vibrator.d.ts
New API NA Class name: VibrateFromFile;
API declaration: type: 'file';
Differences: type: 'file';
api/@ohos.vibrator.d.ts
New API NA Class name: VibrateFromFile;
API declaration: hapticFd: HapticFileDescriptor;
Differences: hapticFd: HapticFileDescriptor;
api/@ohos.vibrator.d.ts
New API NA Class name: vibrator;
API declaration: interface HapticFileDescriptor
Differences: interface HapticFileDescriptor
api/@ohos.vibrator.d.ts
New API NA Class name: HapticFileDescriptor;
API declaration: fd: number;
Differences: fd: number;
api/@ohos.vibrator.d.ts
New API NA Class name: HapticFileDescriptor;
API declaration: offset?: number;
Differences: offset?: number;
api/@ohos.vibrator.d.ts
New API NA Class name: HapticFileDescriptor;
API declaration: length?: number;
Differences: length?: number;
api/@ohos.vibrator.d.ts
New API NA Class name: global;
API declaration: export interface AccelerometerResponse
Differences: export interface AccelerometerResponse
api/@system.sensor.d.ts
New API NA Class name: AccelerometerResponse;
API declaration: x: number;
Differences: x: number;
api/@system.sensor.d.ts
New API NA Class name: AccelerometerResponse;
API declaration: y: number;
Differences: y: number;
api/@system.sensor.d.ts
New API NA Class name: AccelerometerResponse;
API declaration: z: number;
Differences: z: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface subscribeAccelerometerOptions
Differences: export interface subscribeAccelerometerOptions
api/@system.sensor.d.ts
New API NA Class name: subscribeAccelerometerOptions;
API declaration: interval: string;
Differences: interval: string;
api/@system.sensor.d.ts
New API NA Class name: subscribeAccelerometerOptions;
API declaration: success: (data: AccelerometerResponse) => void;
Differences: success: (data: AccelerometerResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: subscribeAccelerometerOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface CompassResponse
Differences: export interface CompassResponse
api/@system.sensor.d.ts
New API NA Class name: CompassResponse;
API declaration: direction: number;
Differences: direction: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeCompassOptions
Differences: export interface SubscribeCompassOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeCompassOptions;
API declaration: success: (data: CompassResponse) => void;
Differences: success: (data: CompassResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeCompassOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface ProximityResponse
Differences: export interface ProximityResponse
api/@system.sensor.d.ts
New API NA Class name: ProximityResponse;
API declaration: distance: number;
Differences: distance: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeProximityOptions
Differences: export interface SubscribeProximityOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeProximityOptions;
API declaration: success: (data: ProximityResponse) => void;
Differences: success: (data: ProximityResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeProximityOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface LightResponse
Differences: export interface LightResponse
api/@system.sensor.d.ts
New API NA Class name: LightResponse;
API declaration: intensity: number;
Differences: intensity: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeLightOptions
Differences: export interface SubscribeLightOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeLightOptions;
API declaration: success: (data: LightResponse) => void;
Differences: success: (data: LightResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeLightOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface StepCounterResponse
Differences: export interface StepCounterResponse
api/@system.sensor.d.ts
New API NA Class name: StepCounterResponse;
API declaration: steps: number;
Differences: steps: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeStepCounterOptions
Differences: export interface SubscribeStepCounterOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeStepCounterOptions;
API declaration: success: (data: StepCounterResponse) => void;
Differences: success: (data: StepCounterResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeStepCounterOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface BarometerResponse
Differences: export interface BarometerResponse
api/@system.sensor.d.ts
New API NA Class name: BarometerResponse;
API declaration: pressure: number;
Differences: pressure: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeBarometerOptions
Differences: export interface SubscribeBarometerOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeBarometerOptions;
API declaration: success: (data: BarometerResponse) => void;
Differences: success: (data: BarometerResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeBarometerOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface HeartRateResponse
Differences: export interface HeartRateResponse
api/@system.sensor.d.ts
New API NA Class name: HeartRateResponse;
API declaration: heartRate: number;
Differences: heartRate: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeHeartRateOptions
Differences: export interface SubscribeHeartRateOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeHeartRateOptions;
API declaration: success: (data: HeartRateResponse) => void;
Differences: success: (data: HeartRateResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeHeartRateOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface OnBodyStateResponse
Differences: export interface OnBodyStateResponse
api/@system.sensor.d.ts
New API NA Class name: OnBodyStateResponse;
API declaration: value: boolean;
Differences: value: boolean;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeOnBodyStateOptions
Differences: export interface SubscribeOnBodyStateOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeOnBodyStateOptions;
API declaration: success: (data: OnBodyStateResponse) => void;
Differences: success: (data: OnBodyStateResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeOnBodyStateOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface GetOnBodyStateOptions
Differences: export interface GetOnBodyStateOptions
api/@system.sensor.d.ts
New API NA Class name: GetOnBodyStateOptions;
API declaration: success: (data: OnBodyStateResponse) => void;
Differences: success: (data: OnBodyStateResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: GetOnBodyStateOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: GetOnBodyStateOptions;
API declaration: complete?: () => void;
Differences: complete?: () => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface DeviceOrientationResponse
Differences: export interface DeviceOrientationResponse
api/@system.sensor.d.ts
New API NA Class name: DeviceOrientationResponse;
API declaration: alpha: number;
Differences: alpha: number;
api/@system.sensor.d.ts
New API NA Class name: DeviceOrientationResponse;
API declaration: beta: number;
Differences: beta: number;
api/@system.sensor.d.ts
New API NA Class name: DeviceOrientationResponse;
API declaration: gamma: number;
Differences: gamma: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeDeviceOrientationOptions
Differences: export interface SubscribeDeviceOrientationOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeDeviceOrientationOptions;
API declaration: interval: string;
Differences: interval: string;
api/@system.sensor.d.ts
New API NA Class name: SubscribeDeviceOrientationOptions;
API declaration: success: (data: DeviceOrientationResponse) => void;
Differences: success: (data: DeviceOrientationResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeDeviceOrientationOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface GyroscopeResponse
Differences: export interface GyroscopeResponse
api/@system.sensor.d.ts
New API NA Class name: GyroscopeResponse;
API declaration: x: number;
Differences: x: number;
api/@system.sensor.d.ts
New API NA Class name: GyroscopeResponse;
API declaration: y: number;
Differences: y: number;
api/@system.sensor.d.ts
New API NA Class name: GyroscopeResponse;
API declaration: z: number;
Differences: z: number;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface SubscribeGyroscopeOptions
Differences: export interface SubscribeGyroscopeOptions
api/@system.sensor.d.ts
New API NA Class name: SubscribeGyroscopeOptions;
API declaration: interval: string;
Differences: interval: string;
api/@system.sensor.d.ts
New API NA Class name: SubscribeGyroscopeOptions;
API declaration: success: (data: GyroscopeResponse) => void;
Differences: success: (data: GyroscopeResponse) => void;
api/@system.sensor.d.ts
New API NA Class name: SubscribeGyroscopeOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export default class Sensor
Differences: export default class Sensor
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeAccelerometer(options: subscribeAccelerometerOptions): void;
Differences: static subscribeAccelerometer(options: subscribeAccelerometerOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeAccelerometer(): void;
Differences: static unsubscribeAccelerometer(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeCompass(options: SubscribeCompassOptions): void;
Differences: static subscribeCompass(options: SubscribeCompassOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeCompass(): void;
Differences: static unsubscribeCompass(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeProximity(options: SubscribeProximityOptions): void;
Differences: static subscribeProximity(options: SubscribeProximityOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeProximity(): void;
Differences: static unsubscribeProximity(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeLight(options: SubscribeLightOptions): void;
Differences: static subscribeLight(options: SubscribeLightOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeLight(): void;
Differences: static unsubscribeLight(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeStepCounter(options: SubscribeStepCounterOptions): void;
Differences: static subscribeStepCounter(options: SubscribeStepCounterOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeStepCounter(): void;
Differences: static unsubscribeStepCounter(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeBarometer(options: SubscribeBarometerOptions): void;
Differences: static subscribeBarometer(options: SubscribeBarometerOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeBarometer(): void;
Differences: static unsubscribeBarometer(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeHeartRate(options: SubscribeHeartRateOptions): void;
Differences: static subscribeHeartRate(options: SubscribeHeartRateOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeHeartRate(): void;
Differences: static unsubscribeHeartRate(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeOnBodyState(options: SubscribeOnBodyStateOptions): void;
Differences: static subscribeOnBodyState(options: SubscribeOnBodyStateOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeOnBodyState(): void;
Differences: static unsubscribeOnBodyState(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static getOnBodyState(options: GetOnBodyStateOptions): void;
Differences: static getOnBodyState(options: GetOnBodyStateOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeDeviceOrientation(options: SubscribeDeviceOrientationOptions): void;
Differences: static subscribeDeviceOrientation(options: SubscribeDeviceOrientationOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeDeviceOrientation(): void;
Differences: static unsubscribeDeviceOrientation(): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static subscribeGyroscope(options: SubscribeGyroscopeOptions): void;
Differences: static subscribeGyroscope(options: SubscribeGyroscopeOptions): void;
api/@system.sensor.d.ts
New API NA Class name: Sensor;
API declaration: static unsubscribeGyroscope(): void;
Differences: static unsubscribeGyroscope(): void;
api/@system.sensor.d.ts
New API NA Class name: global;
API declaration: export interface VibrateOptions
Differences: export interface VibrateOptions
api/@system.vibrator.d.ts
New API NA Class name: VibrateOptions;
API declaration: mode?: 'long' | 'short';
Differences: mode?: 'long' | 'short';
api/@system.vibrator.d.ts
New API NA Class name: VibrateOptions;
API declaration: success: () => void;
Differences: success: () => void;
api/@system.vibrator.d.ts
New API NA Class name: VibrateOptions;
API declaration: fail?: (data: string, code: number) => void;
Differences: fail?: (data: string, code: number) => void;
api/@system.vibrator.d.ts
New API NA Class name: VibrateOptions;
API declaration: complete?: () => void;
Differences: complete?: () => void;
api/@system.vibrator.d.ts
New API NA Class name: global;
API declaration: export default class Vibrator
Differences: export default class Vibrator
api/@system.vibrator.d.ts
New API NA Class name: Vibrator;
API declaration: static vibrate(options?: VibrateOptions): void;
Differences: static vibrate(options?: VibrateOptions): void;
api/@system.vibrator.d.ts
New Kit Class name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.sensor.d.ts
Differences: SensorServiceKit
api/@ohos.sensor.d.ts
New Kit Class name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@ohos.vibrator.d.ts
Differences: SensorServiceKit
api/@ohos.vibrator.d.ts
New Kit Class name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@system.sensor.d.ts
Differences: SensorServiceKit
api/@system.sensor.d.ts
New Kit Class name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: api@system.vibrator.d.ts
Differences: SensorServiceKit
api/@system.vibrator.d.ts
New Kit Class name: global;
API declaration:
Differences: NA
Class name: global;
API declaration: kits@kit.SensorServiceKit.d.ts
Differences: SensorServiceKit
kits/@kit.SensorServiceKit.d.ts