harmony 鸿蒙Common Events of the Time and Time Zone Subsystem
Common Events of the Time and Time Zone Subsystem
This document lists the common system events provided by the time and time zone subsystem to applications. Applications can use APIs to subscribe to common system events.
COMMON_EVENT_TIME_CHANGED
Indicates that the system time has been set.
- Value: usual.event.TIME_CHANGED
- Required subscriber permissions: none
When the system time is set, the event notification service is triggered to publish this event.
COMMON_EVENT_TIME_TICK
Indicates that the system time has changed.
- Value: usual.event.TIME_TICK
- Required subscriber permissions: none
On devices where the unit of time is minutes, when the system time changes, the event notification service is triggered to publish this event.
COMMON_EVENT_TIMEZONE_CHANGED
Indicates that the system time zone has changed.
- Value: usual.event.TIMEZONE_CHANGED
- Required subscriber permissions: none
When the system time zone changes, the event notification service is triggered to publish this event.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Common Events of the Ability Subsystem
harmony 鸿蒙Common Events of the Account Subsystem
harmony 鸿蒙Common Events of the Notification Service
harmony 鸿蒙Common Events of the Bundle Management Subsystem
harmony 鸿蒙Common Events of the File Management Subsystem
harmony 鸿蒙Common Events of the Language Subsystem
harmony 鸿蒙Common Events of the SMS Application
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦