- err = Interop.NotificationEventListener.GetList(NotificationType.Ongoing, -1, out notificationList);
+ return list;
+ }
+
+ /// <summary>
+ /// Sends occured event from viewer application to the notification owner.
+ /// </summary>
+ /// <param name="uniqueNumber">The unique number of the notification.</param>
+ /// <param name="type">Event type on notification.</param>
+ /// <exception cref="ArgumentException">Thrown in case of an invalid parameter.</exception>
+ /// <exception cref="UnauthorizedAccessException"> Thrown in case of a permission is denied.</exception>
+ /// <exception cref="InvalidOperationException">Thrown in case of any internal error.</exception>
+ /// <privilege>http://tizen.org/privilege/notification</privilege>
+ /// <since_tizen> 4 </since_tizen>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static void SendEvent(int uniqueNumber, UserEventType type)
+ {
+ Interop.NotificationEventListener.ErrorCode err;
+
+ err = Interop.NotificationEventListener.SendEvent(uniqueNumber, (int)type);