openharmony 鸿蒙 js-apidiff-sensor

2023-10-30 浏览 (163)
Change TypeOld VersionNew Versiond.ts File
AddedNAClass name: sensor;
Method or attribute name: function on(type: SensorId.COLOR, callback: Callback<ColorResponse>, options?: Options): void;
@ohos.sensor.d.ts
AddedNAClass name: sensor;
Method or attribute name: function on(type: SensorId.SAR, callback: Callback<SarResponse>, options?: Options): void;
@ohos.sensor.d.ts
AddedNAClass name: sensor;
Method or attribute name: function off(type: SensorId.COLOR, callback?: Callback<ColorResponse>): void;
@ohos.sensor.d.ts
AddedNAClass name: sensor;
Method or attribute name: function off(type: SensorId.SAR, callback?: Callback<SarResponse>): void;
@ohos.sensor.d.ts
AddedNAClass name: SensorId;
Method or attribute name: COLOR = 14
@ohos.sensor.d.ts
AddedNAClass name: SensorId;
Method or attribute name: SAR = 15
@ohos.sensor.d.ts
AddedNAClass name: ColorResponse;
Method or attribute name: lightIntensity: number;
@ohos.sensor.d.ts
AddedNAClass name: ColorResponse;
Method or attribute name: colorTemperature: number;
@ohos.sensor.d.ts
AddedNAClass name: SarResponse;
Method or attribute name: absorptionRatio: number;
@ohos.sensor.d.ts
AddedNAClass name: vibrator;
Method or attribute name: function stopVibration(callback: AsyncCallback<void>): void;
@ohos.vibrator.d.ts
AddedNAClass name: vibrator;
Method or attribute name: function stopVibration(): Promise<void>;
@ohos.vibrator.d.ts
AddedNAClass name: vibrator;
Method or attribute name: function isSupportEffect(effectId: string, callback: AsyncCallback<boolean>): void;
@ohos.vibrator.d.ts
AddedNAClass name: vibrator;
Method or attribute name: function isSupportEffect(effectId: string): Promise<boolean>;
@ohos.vibrator.d.ts
AddedNAClass name: HapticFileDescriptor;
Method or attribute name: fd: number;
@ohos.vibrator.d.ts
AddedNAClass name: HapticFileDescriptor;
Method or attribute name: offset?: number;
@ohos.vibrator.d.ts
AddedNAClass name: HapticFileDescriptor;
Method or attribute name: length?: number;
@ohos.vibrator.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>;
Old version information:
Class name: sensor;
Method or attribute name: function getGeomagneticField(locationOptions: LocationOptions, timeMillis: number): Promise<GeomagneticResponse>;
New version information: 9
Substitute API: sensor#getGeomagneticInfo
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number): Promise<number>;
Old version information:
Class name: sensor;
Method or attribute name: function getAltitude(seaPressure: number, currentPressure: number): Promise<number>;
New version information: 9
Substitute API: sensor#getDeviceAltitude
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>;
Old version information:
Class name: sensor;
Method or attribute name: function getGeomagneticDip(inclinationMatrix: Array<number>): Promise<number>;
New version information: 9
Substitute API: sensor#getInclination
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;
Old version information:
Class name: sensor;
Method or attribute name: function getAngleModify(currentRotationMatrix: Array<number>, preRotationMatrix: Array<number>): Promise<Array<number>>;
New version information: 9
Substitute API: sensor#getAngleVariation
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;
Old version information:
Class name: sensor;
Method or attribute name: function createRotationMatrix(rotationVector: Array<number>): Promise<Array<number>>;
New version information: 9
Substitute API: sensor#getRotationMatrix
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>,): Promise<RotationMatrixResponse>;
Old version information:
Class name: sensor;
Method or attribute name: function createRotationMatrix(gravity: Array<number>, geomagnetic: Array<number>,): Promise<RotationMatrixResponse>;
New version information: 9
Substitute API: sensor#getRotationMatrix
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>;
Old version information:
Class name: sensor;
Method or attribute name: function transformCoordinateSystem(inRotationVector: Array<number>, coordinates: CoordinatesOptions): Promise<Array<number>>;
New version information: 9
Substitute API: sensor#transformRotationMatrix
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>;
Old version information:
Class name: sensor;
Method or attribute name: function createQuaternion(rotationVector: Array<number>): Promise<Array<number>>;
New version information: 9
Substitute API: sensor#getQuaternion
@ohos.sensor.d.ts
Deprecated version changedClass name: sensor;
Method or attribute name: function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>;
Old version information:
Class name: sensor;
Method or attribute name: function getDirection(rotationMatrix: Array<number>): Promise<Array<number>>;
New version information: 9
Substitute API: sensor#getOrientation
@ohos.sensor.d.ts
Deprecated version changedClass name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise<void>;
Old version information:
Class name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise<void>;
New version information: 9
Substitute API: vibrator#startVibration
@ohos.vibrator.d.ts
Deprecated version changedClass name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void;
Old version information:
Class name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void;
New version information: 9
Substitute API: vibrator#startVibration
@ohos.vibrator.d.ts
Deprecated version changedClass name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void;
Old version information:
Class name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void;
New version information: 9
Substitute API: vibrator#stopVibration
@ohos.vibrator.d.ts
Error code changedClass name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback<void>): void;
Old version information: 201,401, 14600101
Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute, callback: AsyncCallback<void>): void;
New version information: 201,401,801, 14600101
@ohos.vibrator.d.ts
Error code changedClass name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise<void>;
Old version information: 201,401, 14600101
Class name: vibrator;
Method or attribute name: function startVibration(effect: VibrateEffect, attribute: VibrateAttribute): Promise<void>;
New version information: 201,401,801, 14600101
@ohos.vibrator.d.ts
Permission changedClass name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise<void>;
Old version information:
Class name: vibrator;
Method or attribute name: function vibrate(duration: number): Promise<void>;
New version information: ohos.permission.VIBRATE
@ohos.vibrator.d.ts
Permission changedClass name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void;
Old version information:
Class name: vibrator;
Method or attribute name: function vibrate(effectId: EffectId, callback?: AsyncCallback<void>): void;
New version information: ohos.permission.VIBRATE
@ohos.vibrator.d.ts
Permission changedClass name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void;
Old version information:
Class name: vibrator;
Method or attribute name: function stop(stopMode: VibratorStopMode, callback?: AsyncCallback<void>): void;
New version information: ohos.permission.VIBRATE
@ohos.vibrator.d.ts
Permission changedClass name: AccelerometerResponse;
Method or attribute name: x: number;
Old version information:
Class name: AccelerometerResponse;
Method or attribute name: x: number;
New version information: ohos.permission.ACCELEROMETER
@system.sensor.d.ts
Permission changedClass name: GyroscopeResponse;
Method or attribute name: x: number;
Old version information:
Class name: GyroscopeResponse;
Method or attribute name: x: number;
New version information: ohos.permission.GYROSCOPE
@system.sensor.d.ts
Permission changedClass name: AccelerometerResponse;
Method or attribute name: y: number;
Old version information:
Class name: AccelerometerResponse;
Method or attribute name: y: number;
New version information: ohos.permission.ACCELEROMETER
@system.sensor.d.ts
Permission changedClass name: GyroscopeResponse;
Method or attribute name: y: number;
Old version information:
Class name: GyroscopeResponse;
Method or attribute name: y: number;
New version information: ohos.permission.GYROSCOPE
@system.sensor.d.ts
Permission changedClass name: AccelerometerResponse;
Method or attribute name: z: number;
Old version information:
Class name: AccelerometerResponse;
Method or attribute name: z: number;
New version information: ohos.permission.ACCELEROMETER
@system.sensor.d.ts
Permission changedClass name: GyroscopeResponse;
Method or attribute name: z: number;
Old version information:
Class name: GyroscopeResponse;
Method or attribute name: z: number;
New version information: ohos.permission.GYROSCOPE
@system.sensor.d.ts
Permission changedClass name: subscribeAccelerometerOptions;
Method or attribute name: interval: string;
Old version information:
Class name: subscribeAccelerometerOptions;
Method or attribute name: interval: string;
New version information: ohos.permission.ACCELEROMETER
@system.sensor.d.ts
Permission changedClass name: SubscribeGyroscopeOptions;
Method or attribute name: interval: string;
Old version information:
Class name: SubscribeGyroscopeOptions;
Method or attribute name: interval: string;
New version information: ohos.permission.GYROSCOPE
@system.sensor.d.ts
Permission changedClass name: subscribeAccelerometerOptions;
Method or attribute name: success: (data: AccelerometerResponse) => void;
Old version information:
Class name: subscribeAccelerometerOptions;
Method or attribute name: success: (data: AccelerometerResponse) => void;
New version information: ohos.permission.ACCELEROMETER
@system.sensor.d.ts
Permission changedClass name: subscribeAccelerometerOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: subscribeAccelerometerOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ohos.permission.ACCELEROMETER
@system.sensor.d.ts
Permission changedClass name: SubscribeStepCounterOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: SubscribeStepCounterOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ohos.permission.ACTIVITY_MOTION
@system.sensor.d.ts
Permission changedClass name: SubscribeHeartRateOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: SubscribeHeartRateOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ohos.permission.READ_HEALTH_DATA
@system.sensor.d.ts
Permission changedClass name: SubscribeGyroscopeOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: SubscribeGyroscopeOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ohos.permission.GYROSCOPE
@system.sensor.d.ts
Permission changedClass name: StepCounterResponse;
Method or attribute name: steps: number;
Old version information:
Class name: StepCounterResponse;
Method or attribute name: steps: number;
New version information: ohos.permission.ACTIVITY_MOTION
@system.sensor.d.ts
Permission changedClass name: SubscribeStepCounterOptions;
Method or attribute name: success: (data: StepCounterResponse) => void;
Old version information:
Class name: SubscribeStepCounterOptions;
Method or attribute name: success: (data: StepCounterResponse) => void;
New version information: ohos.permission.ACTIVITY_MOTION
@system.sensor.d.ts
Permission changedClass name: HeartRateResponse;
Method or attribute name: heartRate: number;
Old version information:
Class name: HeartRateResponse;
Method or attribute name: heartRate: number;
New version information: ohos.permission.READ_HEALTH_DATA
@system.sensor.d.ts
Permission changedClass name: SubscribeHeartRateOptions;
Method or attribute name: success: (data: HeartRateResponse) => void;
Old version information:
Class name: SubscribeHeartRateOptions;
Method or attribute name: success: (data: HeartRateResponse) => void;
New version information: ohos.permission.READ_HEALTH_DATA
@system.sensor.d.ts
Permission changedClass name: SubscribeGyroscopeOptions;
Method or attribute name: success: (data: GyroscopeResponse) => void;
Old version information:
Class name: SubscribeGyroscopeOptions;
Method or attribute name: success: (data: GyroscopeResponse) => void;
New version information: ohos.permission.GYROSCOPE
@system.sensor.d.ts
Permission changedClass name: VibrateOptions;
Method or attribute name: mode?: 'long' |'short';
Old version information:
Class name: VibrateOptions;
Method or attribute name: mode?: 'long' |'short';
New version information: ohos.permission.VIBRATE
@system.vibrator.d.ts
Permission changedClass name: VibrateOptions;
Method or attribute name: success: () => void;
Old version information:
Class name: VibrateOptions;
Method or attribute name: success: () => void;
New version information: ohos.permission.VIBRATE
@system.vibrator.d.ts
Permission changedClass name: VibrateOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version information:
Class name: VibrateOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version information: ohos.permission.VIBRATE
@system.vibrator.d.ts
Permission changedClass name: VibrateOptions;
Method or attribute name: complete?: () => void;
Old version information:
Class name: VibrateOptions;
Method or attribute name: complete?: () => void;
New version information: ohos.permission.VIBRATE
@system.vibrator.d.ts
Type changedClass name: Sensor;
Method or attribute name: sensorName:string;
Old version information:
Class name: Sensor;
Method or attribute name: sensorName:string;
New version information: string
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: vendorName:string;
Old version information:
Class name: Sensor;
Method or attribute name: vendorName:string;
New version information: string
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: firmwareVersion:string;
Old version information:
Class name: Sensor;
Method or attribute name: firmwareVersion:string;
New version information: string
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: hardwareVersion:string;
Old version information:
Class name: Sensor;
Method or attribute name: hardwareVersion:string;
New version information: string
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: sensorId:number;
Old version information:
Class name: Sensor;
Method or attribute name: sensorId:number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: maxRange:number;
Old version information:
Class name: Sensor;
Method or attribute name: maxRange:number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: minSamplePeriod:number;
Old version information:
Class name: Sensor;
Method or attribute name: minSamplePeriod:number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: maxSamplePeriod:number;
Old version information:
Class name: Sensor;
Method or attribute name: maxSamplePeriod:number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: precision:number;
Old version information:
Class name: Sensor;
Method or attribute name: precision:number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: Sensor;
Method or attribute name: power:number;
Old version information:
Class name: Sensor;
Method or attribute name: power:number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: x: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: CoordinatesOptions;
Method or attribute name: x: number;
Old version information:
Class name: CoordinatesOptions;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerResponse;
Method or attribute name: x: number;
Old version information:
Class name: AccelerometerResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LinearAccelerometerResponse;
Method or attribute name: x: number;
Old version information:
Class name: LinearAccelerometerResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerUncalibratedResponse;
Method or attribute name: x: number;
Old version information:
Class name: AccelerometerUncalibratedResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GravityResponse;
Method or attribute name: x: number;
Old version information:
Class name: GravityResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: RotationVectorResponse;
Method or attribute name: x: number;
Old version information:
Class name: RotationVectorResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeResponse;
Method or attribute name: x: number;
Old version information:
Class name: GyroscopeResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeUncalibratedResponse;
Method or attribute name: x: number;
Old version information:
Class name: GyroscopeUncalibratedResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldResponse;
Method or attribute name: x: number;
Old version information:
Class name: MagneticFieldResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldUncalibratedResponse;
Method or attribute name: x: number;
Old version information:
Class name: MagneticFieldUncalibratedResponse;
Method or attribute name: x: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: y: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: CoordinatesOptions;
Method or attribute name: y: number;
Old version information:
Class name: CoordinatesOptions;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerResponse;
Method or attribute name: y: number;
Old version information:
Class name: AccelerometerResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LinearAccelerometerResponse;
Method or attribute name: y: number;
Old version information:
Class name: LinearAccelerometerResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerUncalibratedResponse;
Method or attribute name: y: number;
Old version information:
Class name: AccelerometerUncalibratedResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GravityResponse;
Method or attribute name: y: number;
Old version information:
Class name: GravityResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: RotationVectorResponse;
Method or attribute name: y: number;
Old version information:
Class name: RotationVectorResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeResponse;
Method or attribute name: y: number;
Old version information:
Class name: GyroscopeResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeUncalibratedResponse;
Method or attribute name: y: number;
Old version information:
Class name: GyroscopeUncalibratedResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldResponse;
Method or attribute name: y: number;
Old version information:
Class name: MagneticFieldResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldUncalibratedResponse;
Method or attribute name: y: number;
Old version information:
Class name: MagneticFieldUncalibratedResponse;
Method or attribute name: y: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: z: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerResponse;
Method or attribute name: z: number;
Old version information:
Class name: AccelerometerResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LinearAccelerometerResponse;
Method or attribute name: z: number;
Old version information:
Class name: LinearAccelerometerResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerUncalibratedResponse;
Method or attribute name: z: number;
Old version information:
Class name: AccelerometerUncalibratedResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GravityResponse;
Method or attribute name: z: number;
Old version information:
Class name: GravityResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: RotationVectorResponse;
Method or attribute name: z: number;
Old version information:
Class name: RotationVectorResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeResponse;
Method or attribute name: z: number;
Old version information:
Class name: GyroscopeResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeUncalibratedResponse;
Method or attribute name: z: number;
Old version information:
Class name: GyroscopeUncalibratedResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldResponse;
Method or attribute name: z: number;
Old version information:
Class name: MagneticFieldResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldUncalibratedResponse;
Method or attribute name: z: number;
Old version information:
Class name: MagneticFieldUncalibratedResponse;
Method or attribute name: z: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: geomagneticDip: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: geomagneticDip: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: deflectionAngle: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: deflectionAngle: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: levelIntensity: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: levelIntensity: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GeomagneticResponse;
Method or attribute name: totalIntensity: number;
Old version information:
Class name: GeomagneticResponse;
Method or attribute name: totalIntensity: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LocationOptions;
Method or attribute name: latitude: number;
Old version information:
Class name: LocationOptions;
Method or attribute name: latitude: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LocationOptions;
Method or attribute name: longitude: number;
Old version information:
Class name: LocationOptions;
Method or attribute name: longitude: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LocationOptions;
Method or attribute name: altitude: number;
Old version information:
Class name: LocationOptions;
Method or attribute name: altitude: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: RotationMatrixResponse;
Method or attribute name: rotation: Array<number>;
Old version information:
Class name: RotationMatrixResponse;
Method or attribute name: rotation: Array<number>;
New version information: Array<number>
@ohos.sensor.d.ts
Type changedClass name: RotationMatrixResponse;
Method or attribute name: inclination: Array<number>
Old version information:
Class name: RotationMatrixResponse;
Method or attribute name: inclination: Array<number>
New version information: Array<number>
@ohos.sensor.d.ts
Type changedClass name: Options;
Method or attribute name: interval?: number;
Old version information:
Class name: Options;
Method or attribute name: interval?: number;
New version information: ?number
@ohos.sensor.d.ts
Type changedClass name: Response;
Method or attribute name: timestamp: number;
Old version information:
Class name: Response;
Method or attribute name: timestamp: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerUncalibratedResponse;
Method or attribute name: biasX: number;
Old version information:
Class name: AccelerometerUncalibratedResponse;
Method or attribute name: biasX: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeUncalibratedResponse;
Method or attribute name: biasX: number;
Old version information:
Class name: GyroscopeUncalibratedResponse;
Method or attribute name: biasX: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldUncalibratedResponse;
Method or attribute name: biasX: number;
Old version information:
Class name: MagneticFieldUncalibratedResponse;
Method or attribute name: biasX: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerUncalibratedResponse;
Method or attribute name: biasY: number;
Old version information:
Class name: AccelerometerUncalibratedResponse;
Method or attribute name: biasY: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeUncalibratedResponse;
Method or attribute name: biasY: number;
Old version information:
Class name: GyroscopeUncalibratedResponse;
Method or attribute name: biasY: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldUncalibratedResponse;
Method or attribute name: biasY: number;
Old version information:
Class name: MagneticFieldUncalibratedResponse;
Method or attribute name: biasY: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AccelerometerUncalibratedResponse;
Method or attribute name: biasZ: number;
Old version information:
Class name: AccelerometerUncalibratedResponse;
Method or attribute name: biasZ: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: GyroscopeUncalibratedResponse;
Method or attribute name: biasZ: number;
Old version information:
Class name: GyroscopeUncalibratedResponse;
Method or attribute name: biasZ: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: MagneticFieldUncalibratedResponse;
Method or attribute name: biasZ: number;
Old version information:
Class name: MagneticFieldUncalibratedResponse;
Method or attribute name: biasZ: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: OrientationResponse;
Method or attribute name: alpha: number;
Old version information:
Class name: OrientationResponse;
Method or attribute name: alpha: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: OrientationResponse;
Method or attribute name: beta: number;
Old version information:
Class name: OrientationResponse;
Method or attribute name: beta: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: OrientationResponse;
Method or attribute name: gamma: number;
Old version information:
Class name: OrientationResponse;
Method or attribute name: gamma: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: RotationVectorResponse;
Method or attribute name: w: number;
Old version information:
Class name: RotationVectorResponse;
Method or attribute name: w: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: SignificantMotionResponse;
Method or attribute name: scalar: number;
Old version information:
Class name: SignificantMotionResponse;
Method or attribute name: scalar: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: PedometerDetectionResponse;
Method or attribute name: scalar: number;
Old version information:
Class name: PedometerDetectionResponse;
Method or attribute name: scalar: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: ProximityResponse;
Method or attribute name: distance: number;
Old version information:
Class name: ProximityResponse;
Method or attribute name: distance: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: LightResponse;
Method or attribute name: intensity: number;
Old version information:
Class name: LightResponse;
Method or attribute name: intensity: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: HallResponse;
Method or attribute name: status: number;
Old version information:
Class name: HallResponse;
Method or attribute name: status: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: PedometerResponse;
Method or attribute name: steps: number;
Old version information:
Class name: PedometerResponse;
Method or attribute name: steps: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: HumidityResponse;
Method or attribute name: humidity: number;
Old version information:
Class name: HumidityResponse;
Method or attribute name: humidity: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: AmbientTemperatureResponse;
Method or attribute name: temperature: number;
Old version information:
Class name: AmbientTemperatureResponse;
Method or attribute name: temperature: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: BarometerResponse;
Method or attribute name: pressure: number;
Old version information:
Class name: BarometerResponse;
Method or attribute name: pressure: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: HeartRateResponse;
Method or attribute name: heartRate: number;
Old version information:
Class name: HeartRateResponse;
Method or attribute name: heartRate: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: WearDetectionResponse;
Method or attribute name: value: number;
Old version information:
Class name: WearDetectionResponse;
Method or attribute name: value: number;
New version information: number
@ohos.sensor.d.ts
Type changedClass name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime |VibratePreset |VibrateFromFile;
Old version information:
Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime |VibratePreset |VibrateFromFile;
New version information: VibrateTime |VibratePreset |VibrateFromFile
@ohos.vibrator.d.ts
Function changedClass name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime |VibratePreset;
Class name: vibrator;
Method or attribute name: type VibrateEffect = VibrateTime |VibratePreset |VibrateFromFile;
@ohos.vibrator.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/2a96fcd781654f9e8f87d0d8f2d6fd10