* @param[in] pid pid of application
* @return 0 or greater if success, nagative value if fail
* @retval STATUS_LAUNCHING
- * @retval STATUS_CREATED
- * @retval STATUS_FOCUS
* @retval STATUS_VISIBLE
* @retval STATUS_BG
* @retval STATUS_DYING
- * @retval STATUS_HOME
* @retval STATUS_NORESTART
* @see
* aul_status_update
* {
* int status;
* status = aul_app_get_status_bypid(info->pid);
- * if (status == STATUS_FOCUS) {
+ * if (status == STATUS_VISIBLE) {
* printf("%s has focus", info->app_id);
* (int *)data = info->pid;
* return -1;
* @param[in] uid User ID
* @return 0 or greater if success, nagative value if fail
* @retval STATUS_LAUNCHING
- * @retval STATUS_CREATED
- * @retval STATUS_FOCUS
* @retval STATUS_VISIBLE
* @retval STATUS_BG
* @retval STATUS_DYING
- * @retval STATUS_HOME
* @retval STATUS_NORESTART
*
* @remark
*
* int status_changed(int status, void *data)
* {
- * if (status == STATUS_FOCUS)
- * printf("%d has focus\n", getpid());
- *
* if (status == STATUS_VISIBLE)
* printf("%d resume\n", getpid());
*
- * if (status == STATUS_BG0
+ * if (status == STATUS_BG)
* printf("%d pause\n", getpid());
* }
*
*
* int status_changed(int status, void *data)
* {
- * if (status == STATUS_FOCUS)
- * printf("%d has focus\n", getpid());
- *
* if (status == STATUS_VISIBLE)
* printf("%d resume\n", getpid());
*
- * if (status == STATUS_BG0
+ * if (status == STATUS_BG)
* printf("%d pause\n", getpid());
* }
*