操作 旧版本 新版本 d.ts文件
syscap变更 类名:EffectId;
API声明:EFFECT_CLOCK_TIMER = 'haptic.clock.timer'
差异内容:NA
类名:EffectId;
API声明:EFFECT_CLOCK_TIMER = 'haptic.clock.timer'
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_TIME = 'time'
差异内容:NA
类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_TIME = 'time'
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_PRESET = 'preset'
差异内容:NA
类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_PRESET = 'preset'
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibrateAttribute;
API声明:id?: number;
差异内容:NA
类名:VibrateAttribute;
API声明:id?: number;
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibrateAttribute;
API声明:usage: Usage;
差异内容:NA
类名:VibrateAttribute;
API声明:usage: Usage;
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibrateTime;
API声明:type: 'time';
差异内容:NA
类名:VibrateTime;
API声明:type: 'time';
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibrateTime;
API声明:duration: number;
差异内容:NA
类名:VibrateTime;
API声明:duration: number;
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibratePreset;
API声明:type: 'preset';
差异内容:NA
类名:VibratePreset;
API声明:type: 'preset';
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibratePreset;
API声明:effectId: string;
差异内容:NA
类名:VibratePreset;
API声明:effectId: string;
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibratePreset;
API声明:count: number;
差异内容:NA
类名:VibratePreset;
API声明:count: number;
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibrateFromFile;
API声明:type: 'file';
差异内容:NA
类名:VibrateFromFile;
API声明:type: 'file';
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
syscap变更 类名:VibrateFromFile;
API声明:hapticFd: HapticFileDescriptor;
差异内容:NA
类名:VibrateFromFile;
API声明:hapticFd: HapticFileDescriptor;
差异内容:SystemCapability.Sensors.MiscDevice
api/@ohos.vibrator.d.ts
属性变更 类名:Options;
API声明:interval?: number;
差异内容:number
类名:Options;
API声明:interval?: number | SensorFrequency;
差异内容:number,SensorFrequency
api/@ohos.sensor.d.ts
新增API NA 类名:sensor;
API声明:type SensorFrequency = 'game' | 'ui' | 'normal';
差异内容:type SensorFrequency = 'game' | 'ui' | 'normal';
api/@ohos.sensor.d.ts
新增API NA 类名:sensor;
API声明: enum SensorAccuracy
差异内容: enum SensorAccuracy
api/@ohos.sensor.d.ts
新增API NA 类名:SensorAccuracy;
API声明:ACCURACY_UNRELIABLE = 0
差异内容:ACCURACY_UNRELIABLE = 0
api/@ohos.sensor.d.ts
新增API NA 类名:SensorAccuracy;
API声明:ACCURACY_LOW = 1
差异内容:ACCURACY_LOW = 1
api/@ohos.sensor.d.ts
新增API NA 类名:SensorAccuracy;
API声明:ACCURACY_MEDIUM = 2
差异内容:ACCURACY_MEDIUM = 2
api/@ohos.sensor.d.ts
新增API NA 类名:SensorAccuracy;
API声明:ACCURACY_HIGH = 3
差异内容:ACCURACY_HIGH = 3
api/@ohos.sensor.d.ts
新增API NA 类名:Response;
API声明:accuracy: SensorAccuracy;
差异内容:accuracy: SensorAccuracy;
api/@ohos.sensor.d.ts
起始版本有变化 类名:EffectId;
API声明:EFFECT_CLOCK_TIMER = 'haptic.clock.timer'
差异内容:NA
类名:EffectId;
API声明:EFFECT_CLOCK_TIMER = 'haptic.clock.timer'
差异内容:8
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_TIME = 'time'
差异内容:NA
类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_TIME = 'time'
差异内容:8
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_PRESET = 'preset'
差异内容:NA
类名:VibratorStopMode;
API声明:VIBRATOR_STOP_MODE_PRESET = 'preset'
差异内容:8
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibrateAttribute;
API声明:id?: number;
差异内容:NA
类名:VibrateAttribute;
API声明:id?: number;
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibrateAttribute;
API声明:usage: Usage;
差异内容:NA
类名:VibrateAttribute;
API声明:usage: Usage;
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibrateTime;
API声明:type: 'time';
差异内容:NA
类名:VibrateTime;
API声明:type: 'time';
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibrateTime;
API声明:duration: number;
差异内容:NA
类名:VibrateTime;
API声明:duration: number;
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibratePreset;
API声明:type: 'preset';
差异内容:NA
类名:VibratePreset;
API声明:type: 'preset';
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibratePreset;
API声明:effectId: string;
差异内容:NA
类名:VibratePreset;
API声明:effectId: string;
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibratePreset;
API声明:count: number;
差异内容:NA
类名:VibratePreset;
API声明:count: number;
差异内容:9
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibrateFromFile;
API声明:type: 'file';
差异内容:NA
类名:VibrateFromFile;
API声明:type: 'file';
差异内容:10
api/@ohos.vibrator.d.ts
起始版本有变化 类名:VibrateFromFile;
API声明:hapticFd: HapticFileDescriptor;
差异内容:NA
类名:VibrateFromFile;
API声明:hapticFd: HapticFileDescriptor;
差异内容:10
api/@ohos.vibrator.d.ts
kit变更 NA SensorServiceKit api/@ohos.sensor.d.ts
kit变更 NA SensorServiceKit api/@ohos.vibrator.d.ts
kit变更 NA SensorServiceKit api/@system.sensor.d.ts
kit变更 NA SensorServiceKit api/@system.vibrator.d.ts