summaryrefslogtreecommitdiff
path: root/include/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/app.h')
-rwxr-xr-xinclude/app.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/app.h b/include/app.h
index 386f9b1..362178b 100755
--- a/include/app.h
+++ b/include/app.h
@@ -288,6 +288,23 @@ int app_get_package(char **package);
/**
+ * @brief Gets the ID of the application.
+ *
+ * @remarks @a ID must be released with free() by you.
+ *
+ * @param [out] id The ID of the application
+ *
+ * @return 0 on success, otherwise a negative error value.
+ *
+ * @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #APP_ERROR_INVALID_CONTEXT The application is illegally launched, not launched by the launch system.
+ * @retval #APP_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int app_get_id(char **id);
+
+
+/**
* @brief Gets the localized name of the application.
*
* @remarks @a name must be released with free() by you.
@@ -361,6 +378,18 @@ app_device_orientation_e app_get_device_orientation(void);
/**
+ * @brief Sets whether reclaiming system cache is enabled in the pause state.
+ *
+ * @details If the reclaiming system cache is enabled, the system caches are released as possible when the application's state changes to the pause state.
+ *
+ * @remarks The reclaiming system cache is enabled by default
+ *
+ * @param [in] enable whether reclaiming system cache is enabled
+ */
+void app_set_reclaiming_system_cache_on_pause(bool enable);
+
+
+/**
* @}
*/