目录

Vibrator Overview

The vibrator module extends the vibrator service via maximizing utilization of vibrator hardware capabilities. By innovatively integrating vibration and interaction, the module takes user interaction efficiency and usability to the next level.

Working Principles

The vibrator is a Misc device that consists of four modules: Vibrator API, Vibrator Framework, Vibrator Service, and HDF layer.

Figure 1 Vibrator in Misc devices

Constraints

When using a vibrator, you must declare the ohos.permission.VIBRATE permission before you can control the vibration effect.