harmony 鸿蒙js-apidiff-sensor
Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.GRAVITY, callback: Callback<GravityResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.HALL, callback: Callback<HallResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback<LinearAccelerometerResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function on(type: SensorId.WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.ACCELEROMETER, callback: Callback<AccelerometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.AMBIENT_LIGHT, callback: Callback<LightResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.BAROMETER, callback: Callback<BarometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.GRAVITY, callback: Callback<GravityResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.GYROSCOPE, callback: Callback<GyroscopeResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.HALL, callback: Callback<HallResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.HEART_RATE, callback: Callback<HeartRateResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.HUMIDITY, callback: Callback<HumidityResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.LINEAR_ACCELEROMETER, callback: Callback<LinearAccelerometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.ORIENTATION, callback: Callback<OrientationResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.PEDOMETER, callback: Callback<PedometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.PROXIMITY, callback: Callback<ProximityResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function once(type: SensorId.WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.AMBIENT_LIGHT, callback?: Callback<LightResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.BAROMETER, callback?: Callback<BarometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.GRAVITY, callback?: Callback<GravityResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.GYROSCOPE, callback?: Callback<GyroscopeResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.HALL, callback?: Callback<HallResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.HEART_RATE, callback?: Callback<HeartRateResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.HUMIDITY, callback?: Callback<HumidityResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.LINEAR_ACCELEROMETER, callback?: Callback<LinearAccelerometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.ORIENTATION, callback?: Callback<OrientationResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.PEDOMETER, callback?: Callback<PedometerResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.PROXIMITY, callback?: Callback<ProximityResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function off(type: SensorId.WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getSingleSensor(type: SensorId, callback: AsyncCallback<Sensor>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getSingleSensor(type: SensorId): Promise<Sensor>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getSensorList(callback: AsyncCallback<Array<Sensor>>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getSensorList(): Promise<Array<Sensor>>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getGeomagneticInfo(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getDeviceAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getDeviceAltitude(seaPressure: number, currentPressure: number): Promise<number>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getInclination(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getInclination(inclinationMatrix: Array<number>): Promise<number>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getAngleVariation(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getAngleVariation(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>): Promise<RotationMatrixResponse>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function transformRotationMatrix(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function transformRotationMatrix(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getQuaternion(rotationVector: Array<number>): Promise<Array<number>>; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getOrientation(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void; |
@ohos.sensor.d.ts |
Added | NA | Class name: sensor; Method or attribute name: function getOrientation(rotationMatrix: Array<number>): Promise<Array<number>>; |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: ACCELEROMETER = 1 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: GYROSCOPE = 2 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: AMBIENT_LIGHT = 5 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: MAGNETIC_FIELD = 6 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: BAROMETER = 8 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: HALL = 10 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: PROXIMITY = 12 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: HUMIDITY = 13 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: ORIENTATION = 256 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: GRAVITY = 257 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: LINEAR_ACCELEROMETER = 258 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: ROTATION_VECTOR = 259 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: AMBIENT_TEMPERATURE = 260 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: MAGNETIC_FIELD_UNCALIBRATED = 261 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: GYROSCOPE_UNCALIBRATED = 263 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: SIGNIFICANT_MOTION = 264 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: PEDOMETER_DETECTION = 265 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: PEDOMETER = 266 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: HEART_RATE = 278 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: WEAR_DETECTION = 280 |
@ohos.sensor.d.ts |
Added | NA | Class name: SensorId; Method or attribute name: ACCELEROMETER_UNCALIBRATED = 281 |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: sensorName:string; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: vendorName:string; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: firmwareVersion:string; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: hardwareVersion:string; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: sensorId:number; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: maxRange:number; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: minSamplePeriod:number; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: maxSamplePeriod:number; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: precision:number; |
@ohos.sensor.d.ts |
Added | NA | Class name: Sensor; Method or attribute name: power:number; |
@ohos.sensor.d.ts |
Added | NA | Class name: vibrator; Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback<void>): void; |
@ohos.vibrator.d.ts |
Added | NA | Class name: vibrator; Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise<void>; |
@ohos.vibrator.d.ts |
Added | NA | Class name: vibrator; Method or attribute name: function stopVibration(stopMode: VibratorStopMode): Promise<void>; |
@ohos.vibrator.d.ts |
Added | NA | Class name: vibrator; Method or attribute name: function stopVibration(stopMode: VibratorStopMode, callback: AsyncCallback<void>): void; |
@ohos.vibrator.d.ts |
Added | NA | Class name: vibrator; Method or attribute name: type Usage = “unknown” |“alarm” |“ring” |“notification” |“communication” | “touch” |“media” |“physicalFeedback” |“simulateReality”; |
@ohos.vibrator.d.ts |
Added | NA | Class name: vibrator; Method or attribute name: type VibrateEffect = VibrateTime |VibratePreset; |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibrateAttribute; Method or attribute name: id?: number, |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibrateAttribute; Method or attribute name: usage: Usage, |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibrateTime; Method or attribute name: type: “time”; |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibrateTime; Method or attribute name: duration: number; |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibratePreset; Method or attribute name: type: “preset”; |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibratePreset; Method or attribute name: effectId: string; |
@ohos.vibrator.d.ts |
Added | NA | Class name: VibratePreset; Method or attribute name: count: number; |
@ohos.vibrator.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.ACCELEROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.AMBIENT_LIGHT |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.AMBIENT_TEMPERATURE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.BAROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.GRAVITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.GYROSCOPE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.HALL |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.HEART_RATE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.HUMIDITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.LINEAR_ACCELEROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.MAGNETIC_FIELD |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.ORIENTATION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.PEDOMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.PEDOMETER_DETECTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.PROXIMITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.ROTATION_VECTOR |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.SIGNIFICANT_MOTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void; Old version: |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>, options?: Options): void; New version: 9 Substitute API: sensor#event:SensorId.WEAR_DETECTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback: Callback<AccelerometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ACCELEROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback: Callback<AccelerometerUncalibratedResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback: Callback<LightResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.AMBIENT_LIGHT |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback: Callback<AmbientTemperatureResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.AMBIENT_TEMPERATURE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback: Callback<BarometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.BAROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback: Callback<GravityResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.GRAVITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback: Callback<GyroscopeResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.GYROSCOPE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback: Callback<GyroscopeUncalibratedResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HALL, callback: Callback<HallResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.HALL |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.HEART_RATE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback: Callback<HumidityResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.HUMIDITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback: Callback<LinearAccelerometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.LINEAR_ACCELEROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback: Callback<MagneticFieldResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.MAGNETIC_FIELD |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback: Callback<MagneticFieldUncalibratedResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback: Callback<OrientationResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ORIENTATION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback: Callback<PedometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.PEDOMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback: Callback<PedometerDetectionResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.PEDOMETER_DETECTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback: Callback<ProximityResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.PROXIMITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback: Callback<RotationVectorResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ROTATION_VECTOR |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback: Callback<SignificantMotionResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.SIGNIFICANT_MOTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback: Callback<WearDetectionResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.WEAR_DETECTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback?: Callback<AccelerometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ACCELEROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED, callback?: Callback<AccelerometerUncalibratedResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ACCELEROMETER_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback<LightResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback?: Callback<LightResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.AMBIENT_LIGHT |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_AMBIENT_TEMPERATURE, callback?: Callback<AmbientTemperatureResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.AMBIENT_TEMPERATURE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback<BarometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_BAROMETER, callback?: Callback<BarometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.BAROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback<GravityResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GRAVITY, callback?: Callback<GravityResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.GRAVITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback<GyroscopeResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE, callback?: Callback<GyroscopeResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.GYROSCOPE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED, callback?: Callback<GyroscopeUncalibratedResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.GYROSCOPE_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback<HallResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HALL, callback?: Callback<HallResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.HALL |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.HEART_RATE |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback<HumidityResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HUMIDITY, callback?: Callback<HumidityResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.HUMIDITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback<LinearAccelerometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_LINEAR_ACCELERATION, callback?: Callback<LinearAccelerometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.LINEAR_ACCELEROMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback?: Callback<MagneticFieldResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.MAGNETIC_FIELD |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED, callback?: Callback<MagneticFieldUncalibratedResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.MAGNETIC_FIELD_UNCALIBRATED |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback<OrientationResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ORIENTATION, callback?: Callback<OrientationResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ORIENTATION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback<PedometerResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER, callback?: Callback<PedometerResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.PEDOMETER |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PEDOMETER_DETECTION, callback?: Callback<PedometerDetectionResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.PEDOMETER_DETECTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback<ProximityResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_PROXIMITY, callback?: Callback<ProximityResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.PROXIMITY |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback?: Callback<RotationVectorResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.ROTATION_VECTOR |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_SIGNIFICANT_MOTION, callback?: Callback<SignificantMotionResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.SIGNIFICANT_MOTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_WEAR_DETECTION, callback?: Callback<WearDetectionResponse>): void; New version: 9 Substitute API: sensor#event:SensorId.WEAR_DETECTION |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number, callback: AsyncCallback<GeomagneticResponse>): void; New version: 9 Substitute API: sensor#getGeomagneticInfo |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>; Old version: |
Class name: sensor; Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>; New version: 9 Substitute API: sensor#getGeomagneticInfo |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void; Old version: |
Class name: sensor; Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number, callback: AsyncCallback<number>): void; New version: 9 Substitute API: sensor#getDeviceAltitude |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number): Promise<number>; Old version: |
Class name: sensor; Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number): Promise<number>; New version: 9 Substitute API: sensor#getDeviceAltitude |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void; Old version: |
Class name: sensor; Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array<number>, callback: AsyncCallback<number>): void; New version: 9 Substitute API: sensor#getInclination |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>; Old version: |
Class name: sensor; Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>; New version: 9 Substitute API: sensor#getInclination |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void; Old version: |
Class name: sensor; Method or attribute name: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void; New version: 9 Substitute API: sensor#getAngleVariation |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>; Old version: |
Class name: sensor; Method or attribute name: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>; New version: 9 Substitute API: sensor#getAngleVariation |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function createRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void; Old version: |
Class name: sensor; Method or attribute name: function createRotationMatrix(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void; New version: 9 Substitute API: sensor#getRotationMatrix |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>; Old version: |
Class name: sensor; Method or attribute name: function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>; New version: 9 Substitute API: sensor#getRotationMatrix |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void; Old version: |
Class name: sensor; Method or attribute name: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>, callback: AsyncCallback<RotationMatrixResponse>): void; New version: 9 Substitute API: sensor#getRotationMatrix |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>,): Promise<RotationMatrixResponse>; Old version: |
Class name: sensor; Method or attribute name: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>,): Promise<RotationMatrixResponse>; New version: 9 Substitute API: sensor#getRotationMatrix |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void; Old version: |
Class name: sensor; Method or attribute name: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions, callback: AsyncCallback<Array<number>>): void; New version: 9 Substitute API: sensor#transformRotationMatrix |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>; Old version: |
Class name: sensor; Method or attribute name: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>; New version: 9 Substitute API: sensor#transformRotationMatrix |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function createQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void; Old version: |
Class name: sensor; Method or attribute name: function createQuaternion(rotationVector: Array<number>, callback: AsyncCallback<Array<number>>): void; New version: 9 Substitute API: sensor#getQuaternion |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>; Old version: |
Class name: sensor; Method or attribute name: function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>; New version: 9 Substitute API: sensor#getQuaternion |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getDirection(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void; Old version: |
Class name: sensor; Method or attribute name: function getDirection(rotationMatrix: Array<number>, callback: AsyncCallback<Array<number>>): void; New version: 9 Substitute API: sensor#getOrientation |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: sensor; Method or attribute name: function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>; Old version: |
Class name: sensor; Method or attribute name: function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>; New version: 9 Substitute API: sensor#getOrientation |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: enum SensorType Old version: |
Class name: SensorType; Method or attribute name: enum SensorType New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ACCELEROMETER = 1 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ACCELEROMETER = 1 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_GYROSCOPE = 2 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_GYROSCOPE = 2 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_AMBIENT_LIGHT = 5 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_AMBIENT_LIGHT = 5 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_MAGNETIC_FIELD = 6 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_MAGNETIC_FIELD = 6 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_BAROMETER = 8 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_BAROMETER = 8 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_HALL = 10 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_HALL = 10 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_PROXIMITY = 12 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_PROXIMITY = 12 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_HUMIDITY = 13 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_HUMIDITY = 13 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ORIENTATION = 256 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ORIENTATION = 256 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_GRAVITY = 257 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_GRAVITY = 257 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_LINEAR_ACCELERATION = 258 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ROTATION_VECTOR = 259 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ROTATION_VECTOR = 259 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_AMBIENT_TEMPERATURE = 260 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_AMBIENT_TEMPERATURE = 260 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED = 261 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_MAGNETIC_FIELD_UNCALIBRATED = 261 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED = 263 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_GYROSCOPE_UNCALIBRATED = 263 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_SIGNIFICANT_MOTION = 264 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_SIGNIFICANT_MOTION = 264 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_PEDOMETER_DETECTION = 265 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_PEDOMETER_DETECTION = 265 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_PEDOMETER = 266 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_PEDOMETER = 266 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_HEART_RATE = 278 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_HEART_RATE = 278 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_WEAR_DETECTION = 280 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_WEAR_DETECTION = 280 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281 Old version: |
Class name: SensorType; Method or attribute name: SENSOR_TYPE_ID_ACCELEROMETER_UNCALIBRATED = 281 New version: 9 Substitute API: sensor.SensorId |
@ohos.sensor.d.ts |
Deprecated version changed | Class name: vibrator; Method or attribute name: function vibrate(duration: number, callback?: AsyncCallback<void>): void; Old version: |
Class name: vibrator; Method or attribute name: function vibrate(duration: number, callback?: AsyncCallback<void>): void; New version: 9 Substitute API: vibrator#startVibration |
@ohos.vibrator.d.ts |
Deprecated version changed | Class name: vibrator; Method or attribute name: function vibrate(duration: number): Promise<void>; Old version: |
Class name: vibrator; Method or attribute name: function vibrate(duration: number): Promise<void>; New version: 9 Substitute API: vibrator#startVibration |
@ohos.vibrator.d.ts |
Deprecated version changed | Class name: vibrator; Method or attribute name: function vibrate(effectId: EffectId): Promise<void>; Old version: |
Class name: vibrator; Method or attribute name: function vibrate(effectId: EffectId): Promise<void>; New version: 9 Substitute API: vibrator#startVibration |
@ohos.vibrator.d.ts |
Deprecated version changed | Class name: vibrator; Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void; Old version: |
Class name: vibrator; Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void; New version: 9 Substitute API: vibrator#startVibration |
@ohos.vibrator.d.ts |
Deprecated version changed | Class name: vibrator; Method or attribute name: function stop(stopMode: VibratorStopMode): Promise<void>; Old version: |
Class name: vibrator; Method or attribute name: function stop(stopMode: VibratorStopMode): Promise<void>; New version: 9 Substitute API: vibrator#stopVibration |
@ohos.vibrator.d.ts |
Deprecated version changed | Class name: vibrator; Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void; Old version: |
Class name: vibrator; Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void; New version: 9 Substitute API: vibrator#stopVibration |
@ohos.vibrator.d.ts |
Permission changed | Class name: sensor; Method or attribute name: declare sensor Old version: ohos.permission.ACCELEROMETER,ohos.permission.GRYOSCOPE,ohos.permission.ACTIVITY_MOTION,ohos.permission.HEALTH_DATA |
Class name: sensor; Method or attribute name: declare sensor New version: |
@ohos.sensor.d.ts |
Permission changed | Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void; Old version: ohos.permission.READ_HEALTH_DATA |
Class name: sensor; Method or attribute name: function on(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>, options?: Options): void; New version: ohos.permission.HEALTH_DATA |
@ohos.sensor.d.ts |
Permission changed | Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void; Old version: ohos.permission.READ_HEALTH_DATA |
Class name: sensor; Method or attribute name: function once(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback: Callback<HeartRateResponse>): void; New version: ohos.permission.HEART_RATE |
@ohos.sensor.d.ts |
Permission changed | Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void; Old version: ohos.permission.READ_HEALTH_DATA |
Class name: sensor; Method or attribute name: function off(type: SensorType.SENSOR_TYPE_ID_HEART_RATE, callback?: Callback<HeartRateResponse>): void; New version: ohos.permission.HEALTH_DATA |
@ohos.sensor.d.ts |
Permission changed | Class name: vibrator; Method or attribute name: declare vibrator Old version: ohos.permission.VIBRATE |
Class name: vibrator; Method or attribute name: declare vibrator New version: |
@ohos.vibrator.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦