修复ces C接口的接口说明

Signed-off-by: wangsen1994 <wangsen51@huawei.com>
This commit is contained in:
wangsen1994 2024-10-11 16:37:09 +08:00
parent 882660183b
commit 79017ed65c
2 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ CommonEvent_SubscribeInfo* OH_CommonEvent_CreateSubscribeInfo(const char* events
* @brief Set the subscribe information of permission.
*
* @param info Indicates the subscribed events.
* @param permission Indicates the subscribed events of number.
* @param permission Indicates the subscribed events of permission.
* @return Returns the error code.
* Returns {@link COMMONEVENT_ERR_OK} if the operation is successful.
* Returns {@link COMMONEVENT_ERR_INVALID_PARAMETER} if a parameter error occurs.
@ -133,7 +133,7 @@ CommonEvent_ErrCode OH_CommonEvent_SetPublisherPermission(CommonEvent_SubscribeI
* @brief Set the subscribe information of bundleName.
*
* @param info Indicates the subscribed events.
* @param bundleName Indicates the subscribed events of number.
* @param bundleName Indicates the subscribed events of bundleName.
* @return Returns the error code.
* Returns {@link COMMONEVENT_ERR_OK} if the operation is successful.
* Returns {@link COMMONEVENT_ERR_INVALID_PARAMETER} if a parameter error occurs.

View File

@ -57,7 +57,7 @@ static const char* const COMMON_EVENT_SHUTDOWN = "usual.event.SHUTDOWN";
static const char* const COMMON_EVENT_BATTERY_CHANGED = "usual.event.BATTERY_CHANGED";
/**
* @brief This commonEvent means when the device in low battery state..
* @brief This commonEvent means when the device in low battery state.
*
* @since 12
*/
@ -141,7 +141,7 @@ static const char* const COMMON_EVENT_PACKAGE_ADDED = "usual.event.PACKAGE_ADDED
static const char* const COMMON_EVENT_PACKAGE_REMOVED = "usual.event.PACKAGE_REMOVED";
/**
* @brief This commonEvent means when an existing application package is removed from the device.
* @brief This commonEvent means when an installed application's add-on package is removed from the device.
*
* @since 12
*/