listener.OnAppControlCompleteResponseReceived(appId, op, res, pExtraData);
//_AppImpl::GetInstance()->RaiseWindow();
+ _AppImpl::GetInstance()->SendUserEvent(_APP_EVENT_RAISE, null, false);
SysLog(NID_APP, "AppControl response finished.");
}
listener.OnAppControlCompleted(appId, op, pList);
//_AppImpl::GetInstance()->RaiseWindow();
+ _AppImpl::GetInstance()->SendUserEvent(_APP_EVENT_RAISE, null, false);
+
SysLog(NID_APP, "Legacy AppControl response finished.");
}
void OnAppCheckpoint(void);
/**
+ * Sends the user event to the application itself and not to other application.
+ *
+ * @return An error code
+ * @param[in] requestId The user defined event ID
+ * @param[in] pArgs A pointer to an argument list of type String
+ * @param[in] isPublic public flag
+ * @exception E_SUCCESS The method is successful.
+ */
+ result SendUserEvent(RequestId requestId, const Tizen::Base::Collection::IList* pArgs, bool isPublic);
+
+ /**
* Registers app request
*
* @return An error code
bool OnAppWillTerminate(void);
/**
- * Sends the user event to the application itself and not to other application.
- *
- * @return An error code
- * @param[in] requestId The user defined event ID
- * @param[in] pArgs A pointer to an argument list of type String
- * @exception E_SUCCESS The method is successful.
- */
- result SendUserEvent(RequestId requestId, const Tizen::Base::Collection::IList* pArgs, bool isPublic);
-
- /**
- * Called asynchronously when the user event is sent by the SendUserEvent() method. @n
- * The request ID and argument format for the user event can be defined as per the requirement.
- *
- * @param[in] requestId The user defined event ID
- * @param[in] pArgs A pointer to an argument list of type String
- */
+ * Called asynchronously when the user event is sent by the SendUserEvent() method. @n
+ * The request ID and argument format for the user event can be defined as per the requirement.
+ *
+ * @param[in] requestId The user defined event ID
+ * @param[in] pArgs A pointer to an argument list of type String
+ */
virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs, bool isPublic);
/**