!1542 【CES】修改接口说明

Merge pull request !1542 from wangsen1994/developer_ces_ndk_1011
This commit is contained in:
openharmony_ci 2024-10-12 07:23:25 +00:00 committed by Gitee
commit 302cb8c8f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
*/