diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-01-13 12:50:26 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2017-01-13 13:38:38 +0900 |
commit | 98611a8be02f7efe394abf0ddc24349d1c81a427 (patch) | |
tree | a076c6afde45af8c99b2db221bbd6c6ede6c43fc /include | |
parent | 50ff945bad0cfbdd32e89af5da66c5eeccddcc9b (diff) | |
download | app-manager-98611a8be02f7efe394abf0ddc24349d1c81a427.tar.gz app-manager-98611a8be02f7efe394abf0ddc24349d1c81a427.tar.bz2 app-manager-98611a8be02f7efe394abf0ddc24349d1c81a427.zip |
Support multiple instance launch
- Adds a new API to get the app context handle
by using instance ID
- Requires:
[aul] https://review.tizen.org/gerrit/#/c/108620/
[amd] https://review.tizen.org/gerrit/#/c/109746/
[rua] https://review.tizen.org/gerrit/#/c/109906/
[application] https://review.tizen.org/gerrit/#/c/108805/
Change-Id: I1e778636f4abba4759b3b419066374a25d8e8b70
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/app_manager_extension.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/app_manager_extension.h b/include/app_manager_extension.h index f66c814..671ef18 100644 --- a/include/app_manager_extension.h +++ b/include/app_manager_extension.h @@ -104,6 +104,23 @@ int app_manager_set_splash_screen_display(const char *app_id, bool display); int app_manager_set_app_context_status_cb(app_manager_app_context_status_cb callback, const char *appid, void *user_data); /** + * @brief Gets the application context for the given IDs of the application. + * @since_tizen 3.0 + * @remarks This function returns #APP_MANAGER_ERROR_NO_SUCH_APP if the application with the given application IDs is not running. \n + * You must release @a app_context using app_context_destroy(). + * @param[in] app_id The ID of the application + * @param[in] instance_id The Instance ID of the application + * @param[out] app_context The application context of the given application IDs + * @return @c 0 on success, + * otherwise a negative error value + * @retval #APP_MANAGER_ERROR_NONE Successful + * @retval #APP_MANAGER_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #APP_MANAGER_ERROR_OUT_OF_MEMORY Out of memory + * @retval #APP_MANAGER_ERROR_NO_SUCH_APP No such application + */ +int app_manager_get_app_context_by_instance_id(const char *app_id, const char *instance_id, app_context_h *app_context); + +/** * @} */ |