mirror of
https://github.com/openharmony/notification_notification_cangjie_wrapper.git
synced 2026-07-01 06:41:51 -04:00
@@ -67,7 +67,7 @@ public class CommonEventManager {
|
||||
return ()
|
||||
}
|
||||
|
||||
public init() {
|
||||
init() {
|
||||
super()
|
||||
}
|
||||
}
|
||||
@@ -1067,7 +1067,7 @@ public class Support {
|
||||
]
|
||||
public static const COMMON_EVENT_CONNECTIVITY_CHANGE: String = "usual.event.CONNECTIVITY_CHANGE"
|
||||
|
||||
public init() {
|
||||
init() {
|
||||
super()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ public import ohos.value_type.CommonEventValueType
|
||||
syscap: "SystemCapability.Notification.CommonEvent"
|
||||
]
|
||||
public class CommonEventManager {
|
||||
init() {}
|
||||
/**
|
||||
* Publishes a common event.
|
||||
*
|
||||
|
||||
@@ -27,6 +27,7 @@ import ohos.labels.APILevel
|
||||
syscap: "SystemCapability.Notification.CommonEvent"
|
||||
]
|
||||
public class Support {
|
||||
init() {}
|
||||
/**
|
||||
* This commonEvent means when the device is booted or system upgrade completed, and only be sent by system.
|
||||
* This API can be called only by system applications.
|
||||
|
||||
Reference in New Issue
Block a user