JS API Changes of the Pan-Sensor Subsystem

The table below lists the APIs changes of the pan-sensor subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2.

API Changes

Module Class Method/Attribute/Enumeration/Constant Change Type
ohos.vibrator VibratePreset count: number; Added
ohos.vibrator VibratePreset effectId: string; Added
ohos.vibrator VibratePreset type: "preset"; Added
ohos.vibrator VibrateTime duration: number; Added
ohos.vibrator VibrateTime type: "time"; Added
ohos.vibrator VibrateAttribute usage: Usage, Added
ohos.vibrator VibrateAttribute id?: number, Added