Added new method to the NotificationManager Interface
[platform/framework/native/appfw.git] / src / app / inc / FApp_INotificationManagerImpl.h
index c481132..8cec396 100644 (file)
@@ -84,6 +84,21 @@ public:
        virtual result RemoveNotification(void) = 0;
 
        /**
+        * Notifies the user about the ongoing activity using a message.
+        *
+        * @return              An error code
+        * @param[in]   messageText                     The notification message
+        * @exception   E_SUCCESS                       The method is successful.
+        * @exception   E_INVALID_ARG           The specified input parameter is invalid, or
+        *                                                                      the length of @c messageText is greater than Shell::MAX_NOTIFICATION_MESSAGE_LENGTH.
+        * @exception   E_SYSTEM                        A system error has occurred.
+        * @exception   E_INVALID_OPERATION     The type of application calling this method is invalid as per the Tizen platform policy.
+        * @exception   E_INVALID_STATE         This instance is in an invalid state. @n
+        *                                  The Construct() method is not called.
+        */
+       virtual result NotifyOngoingActivity(const Tizen::Base::String& messageText) = 0;
+
+       /**
         * Notifies the user about the ongoing activity using a message. @n
         * @c launchArguments is specified as input parameter for Application::OnUserEventReceivedN() or can be obtained by
         * invoking Application::GetAppArgumentListN(), especially within Application::OnAppInitializing().