操作 旧版本 新版本 d.ts文件
自定义类型变更 类名:vibrator;
API声明:type VibrateEffect = VibrateTime | VibratePreset | VibrateFromFile | VibrateFromPattern;
差异内容:VibrateTime | VibratePreset | VibrateFromFile | VibrateFromPattern
类名:vibrator;
API声明:type VibrateEffect = VibrateTime | VibratePreset | VibrateFromFile;
差异内容:VibrateTime | VibratePreset | VibrateFromFile
api/@ohos.vibrator.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.ACCELEROMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<AccelerometerResponse>): void;
差异内容:function off(type: SensorId.ACCELEROMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<AccelerometerResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, sensorInfoParam?: SensorInfoParam, callback?: Callback<AccelerometerUncalibratedResponse>): void;
差异内容:function off(type: SensorId.ACCELEROMETER_UNCALIBRATED, sensorInfoParam?: SensorInfoParam, callback?: Callback<AccelerometerUncalibratedResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.AMBIENT_LIGHT, sensorInfoParam?: SensorInfoParam, callback?: Callback<LightResponse>): void;
差异内容:function off(type: SensorId.AMBIENT_LIGHT, sensorInfoParam?: SensorInfoParam, callback?: Callback<LightResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.AMBIENT_TEMPERATURE, sensorInfoParam?: SensorInfoParam, callback?: Callback<AmbientTemperatureResponse>): void;
差异内容:function off(type: SensorId.AMBIENT_TEMPERATURE, sensorInfoParam?: SensorInfoParam, callback?: Callback<AmbientTemperatureResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.BAROMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<BarometerResponse>): void;
差异内容:function off(type: SensorId.BAROMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<BarometerResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.GRAVITY, sensorInfoParam?: SensorInfoParam, callback?: Callback<GravityResponse>): void;
差异内容:function off(type: SensorId.GRAVITY, sensorInfoParam?: SensorInfoParam, callback?: Callback<GravityResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.GYROSCOPE, sensorInfoParam?: SensorInfoParam, callback?: Callback<GyroscopeResponse>): void;
差异内容:function off(type: SensorId.GYROSCOPE, sensorInfoParam?: SensorInfoParam, callback?: Callback<GyroscopeResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.GYROSCOPE_UNCALIBRATED, sensorInfoParam?: SensorInfoParam, callback?: Callback<GyroscopeUncalibratedResponse>): void;
差异内容:function off(type: SensorId.GYROSCOPE_UNCALIBRATED, sensorInfoParam?: SensorInfoParam, callback?: Callback<GyroscopeUncalibratedResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.HALL, sensorInfoParam?: SensorInfoParam, callback?: Callback<HallResponse>): void;
差异内容:function off(type: SensorId.HALL, sensorInfoParam?: SensorInfoParam, callback?: Callback<HallResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.HEART_RATE, sensorInfoParam?: SensorInfoParam, callback?: Callback<HeartRateResponse>): void;
差异内容:function off(type: SensorId.HEART_RATE, sensorInfoParam?: SensorInfoParam, callback?: Callback<HeartRateResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.HUMIDITY, sensorInfoParam?: SensorInfoParam, callback?: Callback<HumidityResponse>): void;
差异内容:function off(type: SensorId.HUMIDITY, sensorInfoParam?: SensorInfoParam, callback?: Callback<HumidityResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.LINEAR_ACCELEROMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<LinearAccelerometerResponse>): void;
差异内容:function off(type: SensorId.LINEAR_ACCELEROMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<LinearAccelerometerResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.MAGNETIC_FIELD, sensorInfoParam?: SensorInfoParam, callback?: Callback<MagneticFieldResponse>): void;
差异内容:function off(type: SensorId.MAGNETIC_FIELD, sensorInfoParam?: SensorInfoParam, callback?: Callback<MagneticFieldResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, sensorInfoParam?: SensorInfoParam, callback?: Callback<MagneticFieldUncalibratedResponse>): void;
差异内容:function off(type: SensorId.MAGNETIC_FIELD_UNCALIBRATED, sensorInfoParam?: SensorInfoParam, callback?: Callback<MagneticFieldUncalibratedResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.ORIENTATION, sensorInfoParam?: SensorInfoParam, callback?: Callback<OrientationResponse>): void;
差异内容:function off(type: SensorId.ORIENTATION, sensorInfoParam?: SensorInfoParam, callback?: Callback<OrientationResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.PEDOMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<PedometerResponse>): void;
差异内容:function off(type: SensorId.PEDOMETER, sensorInfoParam?: SensorInfoParam, callback?: Callback<PedometerResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.PEDOMETER_DETECTION, sensorInfoParam?: SensorInfoParam, callback?: Callback<PedometerDetectionResponse>): void;
差异内容:function off(type: SensorId.PEDOMETER_DETECTION, sensorInfoParam?: SensorInfoParam, callback?: Callback<PedometerDetectionResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.PROXIMITY, sensorInfoParam?: SensorInfoParam, callback?: Callback<ProximityResponse>): void;
差异内容:function off(type: SensorId.PROXIMITY, sensorInfoParam?: SensorInfoParam, callback?: Callback<ProximityResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.ROTATION_VECTOR, sensorInfoParam?: SensorInfoParam, callback?: Callback<RotationVectorResponse>): void;
差异内容:function off(type: SensorId.ROTATION_VECTOR, sensorInfoParam?: SensorInfoParam, callback?: Callback<RotationVectorResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.SIGNIFICANT_MOTION, sensorInfoParam?: SensorInfoParam, callback?: Callback<SignificantMotionResponse>): void;
差异内容:function off(type: SensorId.SIGNIFICANT_MOTION, sensorInfoParam?: SensorInfoParam, callback?: Callback<SignificantMotionResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: SensorId.WEAR_DETECTION, sensorInfoParam?: SensorInfoParam, callback?: Callback<WearDetectionResponse>): void;
差异内容:function off(type: SensorId.WEAR_DETECTION, sensorInfoParam?: SensorInfoParam, callback?: Callback<WearDetectionResponse>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:Sensor;
API声明:sensorIndex?: number;
差异内容:sensorIndex?: number;
NA api/@ohos.sensor.d.ts
删除API 类名:Sensor;
API声明:deviceId?: number;
差异内容:deviceId?: number;
NA api/@ohos.sensor.d.ts
删除API 类名:Sensor;
API声明:deviceName?: string;
差异内容:deviceName?: string;
NA api/@ohos.sensor.d.ts
删除API 类名:Sensor;
API声明:isLocalSensor?: boolean;
差异内容:isLocalSensor?: boolean;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function getSingleSensorByDeviceSync(type: SensorId, deviceId?: number): Array<Sensor>;
差异内容:function getSingleSensorByDeviceSync(type: SensorId, deviceId?: number): Array<Sensor>;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function getSensorListByDeviceSync(deviceId?: number): Array<Sensor>;
差异内容:function getSensorListByDeviceSync(deviceId?: number): Array<Sensor>;
NA api/@ohos.sensor.d.ts
删除API 类名:Options;
API声明:sensorInfoParam?: SensorInfoParam;
差异内容:sensorInfoParam?: SensorInfoParam;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function on(type: 'sensorStatusChange', callback: Callback<SensorStatusEvent>): void;
差异内容:function on(type: 'sensorStatusChange', callback: Callback<SensorStatusEvent>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:function off(type: 'sensorStatusChange', callback?: Callback<SensorStatusEvent>): void;
差异内容:function off(type: 'sensorStatusChange', callback?: Callback<SensorStatusEvent>): void;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:interface SensorStatusEvent
差异内容:interface SensorStatusEvent
NA api/@ohos.sensor.d.ts
删除API 类名:SensorStatusEvent;
API声明:timestamp: number;
差异内容:timestamp: number;
NA api/@ohos.sensor.d.ts
删除API 类名:SensorStatusEvent;
API声明:sensorId: number;
差异内容:sensorId: number;
NA api/@ohos.sensor.d.ts
删除API 类名:SensorStatusEvent;
API声明:sensorIndex: number;
差异内容:sensorIndex: number;
NA api/@ohos.sensor.d.ts
删除API 类名:SensorStatusEvent;
API声明:isSensorOnline: boolean;
差异内容:isSensorOnline: boolean;
NA api/@ohos.sensor.d.ts
删除API 类名:SensorStatusEvent;
API声明:deviceId: number;
差异内容:deviceId: number;
NA api/@ohos.sensor.d.ts
删除API 类名:SensorStatusEvent;
API声明:deviceName: string;
差异内容:deviceName: string;
NA api/@ohos.sensor.d.ts
删除API 类名:sensor;
API声明:interface SensorInfoParam
差异内容:interface SensorInfoParam
NA api/@ohos.sensor.d.ts
删除API 类名:SensorInfoParam;
API声明:deviceId?: number;
差异内容:deviceId?: number;
NA api/@ohos.sensor.d.ts
删除API 类名:SensorInfoParam;
API声明:sensorIndex?: number;
差异内容:sensorIndex?: number;
NA api/@ohos.sensor.d.ts
删除API 类名:vibrator;
API声明:function stopVibration(param?: VibratorInfoParam): Promise<void>;
差异内容:function stopVibration(param?: VibratorInfoParam): Promise<void>;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:function getEffectInfoSync(effectId: string, param?: VibratorInfoParam): EffectInfo;
差异内容:function getEffectInfoSync(effectId: string, param?: VibratorInfoParam): EffectInfo;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface EffectInfo
差异内容:interface EffectInfo
NA api/@ohos.vibrator.d.ts
删除API 类名:EffectInfo;
API声明:isEffectSupported: boolean;
差异内容:isEffectSupported: boolean;
NA api/@ohos.vibrator.d.ts
删除API 类名:HapticFeedback;
API声明:EFFECT_NOTICE_SUCCESS = 'haptic.notice.success'
差异内容:EFFECT_NOTICE_SUCCESS = 'haptic.notice.success'
NA api/@ohos.vibrator.d.ts
删除API 类名:HapticFeedback;
API声明:EFFECT_NOTICE_FAILURE = 'haptic.notice.fail'
差异内容:EFFECT_NOTICE_FAILURE = 'haptic.notice.fail'
NA api/@ohos.vibrator.d.ts
删除API 类名:HapticFeedback;
API声明:EFFECT_NOTICE_WARNING = 'haptic.notice.warning'
差异内容:EFFECT_NOTICE_WARNING = 'haptic.notice.warning'
NA api/@ohos.vibrator.d.ts
删除API 类名:VibrateAttribute;
API声明:deviceId?: number;
差异内容:deviceId?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:enum VibratorEventType
差异内容:enum VibratorEventType
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEventType;
API声明:CONTINUOUS = 0
差异内容:CONTINUOUS = 0
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEventType;
API声明:TRANSIENT = 1
差异内容:TRANSIENT = 1
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibratorCurvePoint
差异内容:interface VibratorCurvePoint
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorCurvePoint;
API声明:time: number;
差异内容:time: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorCurvePoint;
API声明:intensity?: number;
差异内容:intensity?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorCurvePoint;
API声明:frequency?: number;
差异内容:frequency?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibratorEvent
差异内容:interface VibratorEvent
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:eventType: VibratorEventType;
差异内容:eventType: VibratorEventType;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:time: number;
差异内容:time: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:duration?: number;
差异内容:duration?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:intensity?: number;
差异内容:intensity?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:frequency?: number;
差异内容:frequency?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:index?: number;
差异内容:index?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorEvent;
API声明:points?: Array<VibratorCurvePoint>;
差异内容:points?: Array<VibratorCurvePoint>;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibratorPattern
差异内容:interface VibratorPattern
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorPattern;
API声明:time: number;
差异内容:time: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorPattern;
API声明:events: Array<VibratorEvent>;
差异内容:events: Array<VibratorEvent>;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface ContinuousParam
差异内容:interface ContinuousParam
NA api/@ohos.vibrator.d.ts
删除API 类名:ContinuousParam;
API声明:intensity?: number;
差异内容:intensity?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:ContinuousParam;
API声明:frequency?: number;
差异内容:frequency?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:ContinuousParam;
API声明:points?: VibratorCurvePoint[];
差异内容:points?: VibratorCurvePoint[];
NA api/@ohos.vibrator.d.ts
删除API 类名:ContinuousParam;
API声明:index?: number;
差异内容:index?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface TransientParam
差异内容:interface TransientParam
NA api/@ohos.vibrator.d.ts
删除API 类名:TransientParam;
API声明:intensity?: number;
差异内容:intensity?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:TransientParam;
API声明:frequency?: number;
差异内容:frequency?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:TransientParam;
API声明:index?: number;
差异内容:index?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:class VibratorPatternBuilder
差异内容:class VibratorPatternBuilder
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorPatternBuilder;
API声明:addContinuousEvent(time: number, duration: number, options?: ContinuousParam): VibratorPatternBuilder;
差异内容:addContinuousEvent(time: number, duration: number, options?: ContinuousParam): VibratorPatternBuilder;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorPatternBuilder;
API声明:addTransientEvent(time: number, options?: TransientParam): VibratorPatternBuilder;
差异内容:addTransientEvent(time: number, options?: TransientParam): VibratorPatternBuilder;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorPatternBuilder;
API声明:build(): VibratorPattern;
差异内容:build(): VibratorPattern;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibrateFromPattern
差异内容:interface VibrateFromPattern
NA api/@ohos.vibrator.d.ts
删除API 类名:VibrateFromPattern;
API声明:type: 'pattern';
差异内容:type: 'pattern';
NA api/@ohos.vibrator.d.ts
删除API 类名:VibrateFromPattern;
API声明:pattern: VibratorPattern;
差异内容:pattern: VibratorPattern;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibratorInfoParam
差异内容:interface VibratorInfoParam
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfoParam;
API声明:deviceId?: number;
差异内容:deviceId?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfoParam;
API声明:vibratorId?: number;
差异内容:vibratorId?: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibratorInfo
差异内容:interface VibratorInfo
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfo;
API声明:deviceId: number;
差异内容:deviceId: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfo;
API声明:vibratorId: number;
差异内容:vibratorId: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfo;
API声明:deviceName: string;
差异内容:deviceName: string;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfo;
API声明:isHdHapticSupported: boolean;
差异内容:isHdHapticSupported: boolean;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorInfo;
API声明:isLocalVibrator: boolean;
差异内容:isLocalVibrator: boolean;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:function getVibratorInfoSync(param?: VibratorInfoParam): Array<VibratorInfo>;
差异内容:function getVibratorInfoSync(param?: VibratorInfoParam): Array<VibratorInfo>;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:function on(type: 'vibratorStateChange', callback: Callback<VibratorStatusEvent>): void;
差异内容:function on(type: 'vibratorStateChange', callback: Callback<VibratorStatusEvent>): void;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:function off(type: 'vibratorStateChange', callback?: Callback<VibratorStatusEvent>): void;
差异内容:function off(type: 'vibratorStateChange', callback?: Callback<VibratorStatusEvent>): void;
NA api/@ohos.vibrator.d.ts
删除API 类名:vibrator;
API声明:interface VibratorStatusEvent
差异内容:interface VibratorStatusEvent
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorStatusEvent;
API声明:timestamp: number;
差异内容:timestamp: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorStatusEvent;
API声明:deviceId: number;
差异内容:deviceId: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorStatusEvent;
API声明:vibratorCount: number;
差异内容:vibratorCount: number;
NA api/@ohos.vibrator.d.ts
删除API 类名:VibratorStatusEvent;
API声明:isVibratorOnline: boolean;
差异内容:isVibratorOnline: boolean;
NA api/@ohos.vibrator.d.ts