fix lines

Signed-off-by: atreeof_wind <shaoyifan2@huawei.com>
This commit is contained in:
atreeof_wind
2025-10-09 19:56:12 +08:00
parent e8e674b0a5
commit 2b8119ec2d
4 changed files with 13 additions and 7 deletions
+4 -2
View File
@@ -47,7 +47,8 @@ public class CommonEventData {
public var bundleName: String
/**
* Common event data received by the subscriber. The value of this field is the same as that of the code field in
* CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. The default value is 0.
* CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event. The default
* value is 0.
*/
@!APILevel[
22,
@@ -65,7 +66,8 @@ public class CommonEventData {
public var data: String
/**
* Additional information about the common event received by the subscriber. The value of this field is the same as
* that of the parameters field in CommonEventPublishData when the publisher uses commonEventManager.publish to publish a common event.
* that of the parameters field in CommonEventPublishData when the publisher uses commonEventManager.publish to
* publish a common event.
*/
@!APILevel[
22,
@@ -29,7 +29,8 @@ public import ohos.common_event_subscriber.CommonEventSubscriber
public import ohos.value_type.ValueType
/**
* The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe to, and unsubscribe from common events.
* The CommonEventManager module provides common event capabilities, including the capabilities to publish, subscribe
* to, and unsubscribe from common events.
*/
@!APILevel[
22,
@@ -71,7 +71,8 @@ public class CommonEventPublishData {
]
public var isOrdered: Bool
/**
* Whether the common event is a sticky one. Only system applications and system services are allowed to send sticky events.
* Whether the common event is a sticky one. Only system applications and system services are allowed to
* send sticky events.
*/
@!APILevel[
22,
@@ -78,7 +78,8 @@ public class CommonEventSubscribeInfo {
]
public var events: Array<String>
/**
* Subscriber priority. The value ranges from 100 to +1000. If the value exceeds the upper or lower limit, the upper or lower limit is used.
* Subscriber priority. The value ranges from 100 to +1000. If the value exceeds the upper or lower limit, the
* upper or lower limit is used.
*/
@!APILevel[
22,
@@ -86,8 +87,9 @@ public class CommonEventSubscribeInfo {
]
public var priority: Int32
/**
* User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be used.
* The value must be an existing user ID in the system. Use getOsAccountLocalId to obtain the system account ID and use it as the user ID of the subscriber.
* User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be
* used.The value must be an existing user ID in the system. Use getOsAccountLocalId to obtain the system account
* ID and use it as the user ID of the subscriber.
*/
@!APILevel[
22,