* @privlevel partner
* @privilege %http://tizen.org/privilege/notification.admin
* @param[in] handle The notification manager handle
- * @param[in] noti The notification item to be updated
+ * @param[in] noti The notification item to be deleted
* @param[out] request_id The id of request
* @return #NOTI_EX_ERROR_NONE On success, other value on failure
* @retval #NOTI_EX_ERROR_NONE Success
* @privlevel partner
* @privilege %http://tizen.org/privilege/notification.admin
* @param[in] handle The notification manager handle
- * @param[out] cnt The count of notifications
+ * @param[out] count The count of notifications
* @return #NOTI_EX_ERROR_NONE On success, other value on failure
* @retval #NOTI_EX_ERROR_NONE Success
* @retval #NOTI_EX_ERROR_PERMISSION_DENIED Permission deny
}
* @endcode
*/
-int noti_ex_manager_get_notification_count(noti_ex_manager_h handle, int *cnt);
+int noti_ex_manager_get_notification_count(noti_ex_manager_h handle, int *count);
/**
* @}
}
extern "C" EXPORT_API int noti_ex_manager_get_notification_count(
- noti_ex_manager_h handle, int *cnt) {
-
- if (handle == nullptr || cnt == nullptr) {
+ noti_ex_manager_h handle, int *count) {
+ if (handle == nullptr || count == nullptr) {
LOGE("Invalid parameter");
return NOTI_EX_ERROR_INVALID_PARAMETER;
}
try {
ManagerStub* stub = static_cast<ManagerStub*>(handle);
- *cnt = stub->GetCount();
+ *count = stub->GetCount();
} catch (Exception &ex) {
LOGE("%s %d", ex.what(), ex.GetErrorCode());
return NOTI_EX_ERROR_IO_ERROR;