Overview of Interactive Widgets
Supported since API version 20, interactive widgets provide animation capabilities such as overflow animations, rich information notifications, and shallow interactions, greatly enhancing user experience.
Scenarios
There are two types of interactive widgets: fun-based widget and scene-based widget.
Fun-based Widget
Users can tap a fun-based widget to play mini games. Currently, this feature can be developed only based on quick games. For details, see Developing a Fun-based Widget.
Figure 1 Example of a fun-based widget

Scene-based Widget
Scene-based widgets support scene animations. For example, a weather widget activates and triggers its weather animation effect when the weather changes to a thunderstorm. Once the animation ends, the widget reverts to its original display. For details, see Overview of Scene-based Widgets.
Constraints
- As an enhancement of the widget functionality, interactive widgets cannot overly depend on animations.