mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-23 14:50:20 +00:00
!1542 【CES】修改接口说明
Merge pull request !1542 from wangsen1994/developer_ces_ndk_1011
This commit is contained in:
commit
302cb8c8f5
@ -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.
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user