• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Common Events of the Ability Subsystem
2This document lists the common system events provided by the Ability subsystem to applications.
3
4## COMMON_EVENT_BOOT_COMPLETED
5
6Indicates that the user has finished the boot process.
7
8- Constant value: "usual.event.BOOT_COMPLETED"
9- Required subscriber permissions: ohos.permission.RECEIVER_STARTUP_COMPLETED
10
11When the specified user finishes the boot process on the device, the event notification service is triggered to publish this event.
12
13## COMMON_EVENT_PACKAGE_RESTARTED
14
15Indicates that the user has restarted the application package and killed all its processes.
16
17- Constant value: "usual.event.PACKAGE_RESTARTED"
18- Required subscriber permissions: none
19
20When the specified user restarts the application and kills all its processes, the event notification service is triggered to publish this event.
21
22## COMMON_EVENT_PACKAGE_DATA_CLEARED
23
24Indicates that the user cleared the application package data.
25
26- Constant value: "usual.event.PACKAGE_DATA_CLEARED"
27- Required subscriber permissions: none
28
29When the specified user clears the application package data on the device, the event notification service is triggered to publish this event.
30
31## COMMON_EVENT_QUICK_FIX_APPLY_RESULT<sup>9+</sup>
32
33Indicates the result of applying a quick fix to the application.
34
35- Constant value: "usual.event.QUICK_FIX_APPLY_RESULT"
36- Required subscriber permissions: none
37
38When the specified user applies a quick fix to the application on the device, the event notification service is triggered to publish this event.
39
40## COMMON_EVENT_QUICK_FIX_REVOKE_RESULT<sup>10+</sup>
41
42Indicates the result of revoking a quick fix to the application.
43
44- Constant value: "usual.event.QUICK_FIX_REVOKE_RESULT"
45- Required subscriber permissions: none
46
47When a quick fix to the application is revoked on the device, the event notification service is triggered to publish this event.
48