From a28b99e5d6a8d8e499a11d8cc5c809c53e64634f Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 23 Mar 2016 07:39:32 +0900 Subject: [PATCH] Fix descriptions about API version Some APIs are supported since 3.0 in the wearable profile. Change-Id: Ia5e7e8bc956bf1e3283879be532e4a1df6b109b8 Signed-off-by: Hwankyu Jhun --- include/app_alarm.h | 4 +- include/app_common.h | 8 +- include/app_control.h | 50 +++++----- include/app_event.h | 214 ++++++++++++++++++++--------------------- include/app_resource_manager.h | 10 +- 5 files changed, 143 insertions(+), 143 deletions(-) diff --git a/include/app_alarm.h b/include/app_alarm.h index f6ae64b..555377b 100644 --- a/include/app_alarm.h +++ b/include/app_alarm.h @@ -156,7 +156,7 @@ int alarm_schedule_at_date(app_control_h app_control, struct tm *date, int perio * @brief Sets an alarm to be triggered after a specific time. * @details The alarm will go off @a delay seconds later. * To cancel the alarm, call alarm_cancel() with @a alarm_id. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privlevel public * @privilege %http://tizen.org/privilege/alarm.set * @remarks If the application is uninstalled after setting an alarm, the alarm is cancelled automatically. @@ -188,7 +188,7 @@ int alarm_schedule_once_after_delay(app_control_h app_control, int delay, int *a * @brief Sets an alarm to be triggered at a specific time. * @details The @a date describes the time of the first occurrence. * To cancel the alarm, call alarm_cancel() with @a alarm_id. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privlevel public * @privilege %http://tizen.org/privilege/alarm.set * @remarks If application is uninstalled after setting an alarm, the alarm is cancelled automatically. diff --git a/include/app_common.h b/include/app_common.h index 774c40e..08f1bc7 100644 --- a/include/app_common.h +++ b/include/app_common.h @@ -80,7 +80,7 @@ typedef enum { /** * @brief Enumeration for suspended state - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ typedef enum { APP_SUSPENDED_STATE_WILL_ENTER = 0, /**< Application will enter the suspended state */ @@ -225,7 +225,7 @@ int app_event_get_device_orientation(app_event_info_h event_info, app_device_ori /** * @brief Gets the suspended state of the application from given event info. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] event_info The handle for getting the suspended state * @param[out] state The suspended state of the application * @@ -438,7 +438,7 @@ char *app_get_external_cache_path(void); /** - * @deprecated Deprecated since 2.4. + * @deprecated Deprecated since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif. * @brief Gets the absolute path to the application's external shared data directory which is * used to share data with other applications. * @details An application can read and write its own files in the application's external shared @@ -458,7 +458,7 @@ char *app_get_external_shared_data_path(void); * @brief Gets the absolute path to the application's TEP(Tizen Expansion Package) directory. * The resource files are delivered with the expansion package. * @details An application can only read its own files in the application's TEP(Tizen Expansion Package) directory. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The returned path should be released. * * @return The absolute path to the application's TEP(Tizen Expansion Package) directory, @n diff --git a/include/app_control.h b/include/app_control.h index ebef2e0..7402367 100644 --- a/include/app_control.h +++ b/include/app_control.h @@ -78,7 +78,7 @@ typedef enum { /** * @brief Enumeration for App Control Launch Mode. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ typedef enum { APP_CONTROL_LAUNCH_MODE_SINGLE = 0, /**< Prefer to launch an application as single mode */ @@ -244,7 +244,7 @@ typedef enum { * @brief Definition for the app_control operation: Can be launched by interested System-Event. * @details Input : URI and extras data defined in Event module.\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks This operation is for handling event from the platform. This operation can not be requested via app_control_send_launch_request(). * @remarks Refer to Launch-On-Event section of Event module. */ @@ -254,7 +254,7 @@ typedef enum { * @brief Definition for the app_control operation: Adds an item. * @details Input: It depends on application scenario/configuration.\n * Output: It depends on application scenario/configuration.\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_ADD "http://tizen.org/appcontrol/operation/add" @@ -262,7 +262,7 @@ typedef enum { * @brief Definition for the app_control operation: Captures images by camera applications. * @details Input: Nothing\n * Output: APP_CONTROL_DATA_SELECTED in Extra\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_IMAGE_CAPTURE "http://tizen.org/appcontrol/operation/image_capture" @@ -270,7 +270,7 @@ typedef enum { * @brief Definition for the app_control operation: Captures videos by camera applications. * @details Input: Nothing\n * Output: APP_CONTROL_DATA_SELECTED in Extra\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_VIDEO_CAPTURE "http://tizen.org/appcontrol/operation/video_capture" @@ -278,7 +278,7 @@ typedef enum { * @brief Definition for the app_control operation: Shows settings to enable Bluetooth. * @details Input: Nothing\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_SETTING_BT_ENABLE "http://tizen.org/appcontrol/operation/setting/bt_enable" @@ -286,7 +286,7 @@ typedef enum { * @brief Definition for the app_control operation: Shows settings to configure Bluetooth visibility. * @details Input: Nothing\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_SETTING_BT_VISIBILITY "http://tizen.org/appcontrol/operation/setting/bt_visibility" @@ -294,7 +294,7 @@ typedef enum { * @brief Definition for the app_control operation: Shows settings to allow configuration of current location sources. * @details Input: Nothing\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_SETTING_LOCATION "http://tizen.org/appcontrol/operation/setting/location" @@ -302,7 +302,7 @@ typedef enum { * @brief Definition for the app_control operation: Shows NFC settings. * @details Input: Nothing\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_SETTING_NFC "http://tizen.org/appcontrol/operation/setting/nfc" @@ -310,7 +310,7 @@ typedef enum { * @brief Definition for the app_control operation: Shows system settings. * @details Input: Nothing\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_SETTING "http://tizen.org/appcontrol/operation/setting" @@ -318,7 +318,7 @@ typedef enum { * @brief Definition for the app_control operation: Shows settings to allow configuration of Wi-Fi. * @details Input: Nothing\n * Output: Nothing\n - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_OPERATION_SETTING_WIFI "http://tizen.org/appcontrol/operation/setting/wifi" @@ -396,76 +396,76 @@ typedef enum { /** * @brief Definition for app_control data: All-day mode of event ("true" or "false") - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_CALENDAR_ALL_DAY "http://tizen.org/appcontrol/data/calendar/all_day" /** * @brief Definition for app_control data: Start time of event (format: YYYY-MM-DD HH:MM:SS) - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_CALENDAR_START_TIME "http://tizen.org/appcontrol/data/calendar/start_time" /** * @brief Definition for app_control data: End time of event (format: YYYY-MM-DD HH:MM:SS) - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_CALENDAR_END_TIME "http://tizen.org/appcontrol/data/calendar/end_time" /** * @brief Definition for app_control data: E-mail addresses - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_EMAIL "http://tizen.org/appcontrol/data/email" /** * @brief Definition for app_control data: Phone numbers - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_PHONE "http://tizen.org/appcontrol/data/phone" /** * @brief Definition for app_control data: URLs - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_URL "http://tizen.org/appcontrol/data/url" /** * @brief Definition for app_control data: IDs - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_ID "http://tizen.org/appcontrol/data/id" /** * @brief Definition for app_control data: Type - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_TYPE "http://tizen.org/appcontrol/data/type" /** * @brief Definition for app_control data: Total count - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_TOTAL_COUNT "http://tizen.org/appcontrol/data/total_count" /** * @brief Definition for app_control data: Total size (unit : bytes) - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_TOTAL_SIZE "http://tizen.org/appcontrol/data/total_size" /** * @brief Definition for app_control data: Name - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define APP_CONTROL_DATA_NAME "http://tizen.org/appcontrol/data/name" @@ -1034,7 +1034,7 @@ int app_control_is_reply_requested(app_control_h app_control, bool *requested); * This function can just set the preference of caller application to launch an application. * @remarks Sub-applications which were launched as group mode always have own process. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] app_control The app_control handle * @param[in] launch_mode The launch mode of app * @@ -1050,7 +1050,7 @@ int app_control_set_launch_mode(app_control_h app_control, /** * @brief Gets the launch mode of the application. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] app_control The app_control handle * @param[out] launch_mode The launch mode of app * @@ -1069,7 +1069,7 @@ int app_control_get_launch_mode(app_control_h app_control, * @details The function allows to receive #APP_CONTROL_RESULT_APP_STARTED event on\n * application get launched by app_control. * @remarks app_control_reply_cb() will be called on APP_CONTROL_RESULT_APP_STARTED event received. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] app_control The app_control handle * @return 0 on success, otherwise a negative error value * @retval #APP_CONTROL_ERROR_NONE Successful diff --git a/include/app_event.h b/include/app_event.h index a0a8cbc..a4a45cb 100644 --- a/include/app_event.h +++ b/include/app_event.h @@ -36,14 +36,14 @@ extern "C" { /** * @brief Event handle. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ typedef struct event_handler* event_handler_h; /** * @brief Event callback. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] event_name The interested event name * @param[in] event_data The data of interested event * @param[in] user_data The user data set by event_add_event_handler() @@ -53,7 +53,7 @@ typedef void (*event_cb)(const char *event_name, bundle *event_data, void *user_ /** * @brief Enumeration for Event Error. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ typedef enum { EVENT_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -66,7 +66,7 @@ typedef enum { /** * @brief Definition for system-event of battery : charger status. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks If there is earlier occurrence regarding this event, you will receive the event as soon as you register event handler for this event. You can use this earlier event-data as initial value. * @see EVENT_KEY_BATTERY_CHARGER_STATUS */ @@ -74,7 +74,7 @@ typedef enum { /** * @brief Definition for key of SYSTEM_EVENT_BATTERY_CHARGER_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_BATTERY_CHARGER_DISCONNECTED * @see EVENT_VAL_BATTERY_CHARGER_CONNECTED * @see EVENT_VAL_BATTERY_CHARGER_CHARGING @@ -84,42 +84,42 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_BATTERY_CHARGER_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks charger disconnected */ #define EVENT_VAL_BATTERY_CHARGER_DISCONNECTED "disconnected" /** * @brief Definition for value of EVENT_KEY_BATTERY_CHARGER_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks charger connected */ #define EVENT_VAL_BATTERY_CHARGER_CONNECTED "connected" /** * @brief Definition for value of EVENT_KEY_BATTERY_CHARGER_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks charging is enabled */ #define EVENT_VAL_BATTERY_CHARGER_CHARGING "charging" /** * @brief Definition for value of EVENT_KEY_BATTERY_CHARGER_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks charging is disabled */ #define EVENT_VAL_BATTERY_CHARGER_DISCHARGING "discharging" /** * @brief Definition for system-event of battery : level status. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_BATTERY_LEVEL_STATUS */ #define SYSTEM_EVENT_BATTERY_LEVEL_STATUS "tizen.system.event.battery_level_status" /** * @brief Definition for key of SYSTEM_EVENT_BATTERY_LEVEL_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_BATTERY_LEVEL_EMPTY * @see EVENT_VAL_BATTERY_LEVEL_CRITICAL * @see EVENT_VAL_BATTERY_LEVEL_LOW @@ -130,44 +130,44 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_BATTERY_LEVEL_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BATTERY_LEVEL_EMPTY "empty" /** * @brief Definition for value of EVENT_KEY_BATTERY_LEVEL_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BATTERY_LEVEL_CRITICAL "critical" /** * @brief Definition for value of EVENT_KEY_BATTERY_LEVEL_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BATTERY_LEVEL_LOW "low" /** * @brief Definition for value of EVENT_KEY_BATTERY_LEVEL_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BATTERY_LEVEL_HIGH "high" /** * @brief Definition for value of EVENT_KEY_BATTERY_LEVEL_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BATTERY_LEVEL_FULL "full" /** * @brief Definition for system-event of usb : status of usb connection. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_USB_STATUS */ #define SYSTEM_EVENT_USB_STATUS "tizen.system.event.usb_status" /** * @brief Definition for key of SYSTEM_EVENT_USB_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_USB_DISCONNECTED * @see EVENT_VAL_USB_CONNECTED * @see EVENT_VAL_USB_AVAILABLE @@ -176,33 +176,33 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_USB_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_USB_DISCONNECTED "disconnected" /** * @brief Definition for value of EVENT_KEY_USB_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks Connected but not-available. */ #define EVENT_VAL_USB_CONNECTED "connected" /** * @brief Definition for value of EVENT_KEY_USB_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_USB_AVAILABLE "available" /** * @brief Definition for system-event of ear-jack : status of ear-jack connection. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_EARJACK_STATUS */ #define SYSTEM_EVENT_EARJACK_STATUS "tizen.system.event.earjack_status" /** * @brief Definition for key of SYSTEM_EVENT_EARJACK_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_EARJACK_DISCONNECTED * @see EVENT_VAL_EARJACK_CONNECTED */ @@ -210,19 +210,19 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_EARJACK_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_EARJACK_DISCONNECTED "disconnected" /** * @brief Definition for value of EVENT_KEY_EARJACK_STATUS. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_EARJACK_CONNECTED "connected" /** * @brief Definition for system-event of display : state of display. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privilege %http://tizen.org/privilege/display * @remarks If you want to receive this event, you must declare this privilege. * @see EVENT_KEY_DISPLAY_STATE @@ -231,7 +231,7 @@ typedef enum { /** * @brief Definition for key of SYSTEM_EVENT_DISPLAY_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_DISPLAY_NORMAL * @see EVENT_VAL_DISPLAY_DIM * @see EVENT_VAL_DISPLAY_OFF @@ -240,25 +240,25 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_DISPLAY_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_DISPLAY_NORMAL "normal" /** * @brief Definition for value of EVENT_KEY_DISPLAY_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_DISPLAY_DIM "dim" /** * @brief Definition for value of EVENT_KEY_DISPLAY_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_DISPLAY_OFF "off" /** * @brief Definition for system-event of system : boot completion. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks There is no corresponding key/value. * @remarks You can treat the initial value as "false" before you receive this event. * @remarks If it's already boot-completed state before you regiser event handler, you can receive the event as soon as you register the event handler. @@ -267,7 +267,7 @@ typedef enum { /** * @brief Definition for system-event of system : shutdown. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks There is no corresponding key/value. * @remarks You can treat the inital value as "false" before you receive this event. * @remarks If it's already shutting-down state before you regiser event handler, you can receive the event as soon as you register the event handler. @@ -276,14 +276,14 @@ typedef enum { /** * @brief Definition for system-event of system : low memory. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_LOW_MEMORY */ #define SYSTEM_EVENT_LOW_MEMORY "tizen.system.event.low_memory" /** * @brief Definition for key of SYSTEM_EVENT_LOW_MEMORY. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks If there is earlier occurrence regarding this event, you will receive the event as soon as you register event handler for this event. You can use this earlier event-data as initial value. * @see EVENT_VAL_MEMORY_NORMAL * @see EVENT_VAL_MEMORY_SOFT_WARNING @@ -293,25 +293,25 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_LOW_MEMORY. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_MEMORY_NORMAL "normal" /** * @brief Definition for value of EVENT_KEY_LOW_MEMORY. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_MEMORY_SOFT_WARNING "soft_warning" /** * @brief Definition for value of EVENT_KEY_LOW_MEMORY. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_MEMORY_HARD_WARNING "hard_warning" /** * @brief Definition for system-event of wifi : state of wifi. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privilege %http://tizen.org/privilege/network.get * @remarks If you want to receive this event, you must declare this privilege. * @see EVENT_KEY_WIFI_STATE @@ -320,7 +320,7 @@ typedef enum { /** * @brief Definition for key of SYSTEM_EVENT_WIFI_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_WIFI_OFF * @see EVENT_VAL_WIFI_ON * @see EVENT_VAL_WIFI_CONNECTED @@ -329,25 +329,25 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_WIFI_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_WIFI_OFF "off" /** * @brief Definition for value of EVENT_KEY_WIFI_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_WIFI_ON "on" /** * @brief Definition for value of EVENT_KEY_WIFI_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_WIFI_CONNECTED "connected" /** * @brief Definition for system-event of bluetooth : status of bluetooth. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_BT_STATE * @see EVENT_KEY_BT_LE_STATE * @see EVENT_KEY_BT_TRANSFERING_STATE @@ -356,7 +356,7 @@ typedef enum { /** * @brief Definition for key of SYSTEM_EVENT_BT_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_BT_STATE_OFF * @see EVENT_VAL_BT_STATE_ON */ @@ -364,19 +364,19 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_BT_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BT_OFF "off" /** * @brief Definition for value of EVENT_KEY_BT_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BT_ON "on" /** * @brief Definition for key of SYSTEM_EVENT_BT_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_BT_LE_STATE_OFF * @see EVENT_VAL_BT_LE_STATE_ON */ @@ -384,19 +384,19 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_BT_LE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BT_LE_OFF "off" /** * @brief Definition for value of EVENT_KEY_BT_LE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BT_LE_ON "on" /** * @brief Definition for key of SYSTEM_EVENT_BT_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks If it's already transfering state before you register this event, you can't receive the event regarding current transfer but you can receive the following transfers. * @see EVENT_VAL_BT_NON_TRANSFERING * @see EVENT_VAL_BT_TRANSFERING @@ -405,26 +405,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_BT_TRANSFERING_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BT_NON_TRANSFERING "non_transfering" /** * @brief Definition for value of EVENT_KEY_BT_TRANSFERING_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_BT_TRANSFERING "transfering" /** * @brief Definition for system-event of location : enable state of location. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_LOCATION_ENABLE_STATE */ #define SYSTEM_EVENT_LOCATION_ENABLE_STATE "tizen.system.event.location_enable_state" /** * @brief Definition for key of SYSTEM_EVENT_LOCATION_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_LOCATION_DISABLED * @see EVENT_VAL_LOCATION_ENABLED */ @@ -432,26 +432,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_LOCATION_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_LOCATION_DISABLED "disabled" /** * @brief Definition for value of EVENT_KEY_LOCATION_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_LOCATION_ENABLED "enabled" /** * @brief Definition for system-event of location : enable state of gps. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_GPS_ENABLE_STATE */ #define SYSTEM_EVENT_GPS_ENABLE_STATE "tizen.system.event.gps_enable_state" /** * @brief Definition for key of SYSTEM_EVENT_GPS_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_GPS_DISABLED * @see EVENT_VAL_GPS_ENABLED */ @@ -459,26 +459,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_GPS_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_GPS_DISABLED "disabled" /** * @brief Definition for value of EVENT_KEY_GPS_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_GPS_ENABLED "enabled" /** * @brief Definition for system-event of location : enable state of nps. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_NPS_ENABLE_STATE */ #define SYSTEM_EVENT_NPS_ENABLE_STATE "tizen.system.event.nps_enable_state" /** * @brief Definition for key of SYSTEM_EVENT_NPS_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_NPS_DISABLED * @see EVENT_VAL_NPS_ENABLED */ @@ -486,19 +486,19 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_NPS_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_NPS_DISABLED "disabled" /** * @brief Definition for value of EVENT_KEY_NPS_ENABLE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_NPS_ENABLED "enabled" /** * @brief Definition for system-event of message : incoming msg. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @privilege %http://tizen.org/privilege/message.read * @remarks If you want to receive this event, you must declare this privilege. * @see EVENT_KEY_MSG_TYPE @@ -508,7 +508,7 @@ typedef enum { /** * @brief Definition for key of SYSTEM_EVENT_INCOMING_MSG. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_SMS * @see EVENT_VAL_PUSH * @see EVENT_VAL_CB @@ -517,32 +517,32 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_MSG_TYPE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_SMS "sms" /** * @brief Definition for value of EVENT_KEY_MSG_TYPE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_PUSH "push" /** * @brief Definition for value of EVENT_KEY_MSG_TYPE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_CB "cb" /** * @brief Definition for key of SYSTEM_EVENT_INCOMING_MSG. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The value of this key is a string of unsigned int value : new message id. */ #define EVENT_KEY_MSG_ID "msg_id" /** * @brief Definition for system-event of setting : time changed. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks There is no corresponding key/value. * @remarks You can use a @a alarm_get_current_time() API for checking new time after receiving this event. */ @@ -550,14 +550,14 @@ typedef enum { /** * @brief Definition for system-event of setting : timezone setting. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_TIME_ZONE */ #define SYSTEM_EVENT_TIME_ZONE "tizen.system.event.time_zone" /** * @brief Definition for key of SYSTEM_EVENT_TIME_ZONE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The value of this key is timezone value of tz database, * for example, "Asia/Seoul", "America/New_York", * refer to the Time Zone Database of IANA. @@ -566,14 +566,14 @@ typedef enum { /** * @brief Definition for system-event of setting : hour format. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_HOUR_FORMAT */ #define SYSTEM_EVENT_HOUR_FORMAT "tizen.system.event.hour_format" /** * @brief Definition for key of SYSTEM_EVENT_HOUR_FORMAT. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_HOURFORMAT_12 * @see EVENT_VAL_HOURFORMAT_24 */ @@ -581,26 +581,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_HOUR_FORMAT. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_HOURFORMAT_12 "12" /** * @brief Definition for value of EVENT_KEY_HOUR_FORMAT. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_HOURFORMAT_24 "24" /** * @brief Definition for system-event of setting : language setting. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_LANGUAGE_SET */ #define SYSTEM_EVENT_LANGUAGE_SET "tizen.system.event.language_set" /** * @brief Definition for key of SYSTEM_EVENT_LANGUAGE_SET. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The value of this key is full name of locale, for example, * "ko_KR.UTF8" : in case of Korean language * "en_US.UTF8" : in case of USA language, @@ -610,14 +610,14 @@ typedef enum { /** * @brief Definition for system-event of setting : region format. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_REGION_FORMAT */ #define SYSTEM_EVENT_REGION_FORMAT "tizen.system.event.region_format" /** * @brief Definition for key of SYSTEM_EVENT_REGION_FORMAT. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The value of this key is full name of locale, for example, * "ko_KR.UTF8" : in case of Korean region format * "en_US.UTF8" : in case of USA region format, @@ -627,14 +627,14 @@ typedef enum { /** * @brief Definition for system-event of setting : silent_mode. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_SILENT_MODE */ #define SYSTEM_EVENT_SILENT_MODE "tizen.system.event.silent_mode" /** * @brief Definition for key of SYSTEM_EVENT_SILENT_MODE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_SILENTMODE_ON * @see EVENT_VAL_SILENTMODE_OFF */ @@ -642,26 +642,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_SILENT_MODE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_SILENTMODE_ON "on" /** * @brief Definition for value of EVENT_KEY_SILENT_MODE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_SILENTMODE_OFF "off" /** * @brief Definition for system-event of setting : state of vibration. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_VIBRATION_STATE */ #define SYSTEM_EVENT_VIBRATION_STATE "tizen.system.event.vibration_state" /** * @brief Definition for key of SYSTEM_EVENT_VIBRATION_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_VIBRATION_ON * @see EVENT_VAL_VIBRATION_OFF */ @@ -669,26 +669,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_VIBRATION_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_VIBRATION_ON "on" /** * @brief Definition for value of EVENT_KEY_VIBRATION_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_VIBRATION_OFF "off" /** * @brief Definition for system-event of setting : state of screen's auto-rotation. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_SCREEN_AUTOROTATE_STATE */ #define SYSTEM_EVENT_SCREEN_AUTOROTATE_STATE "tizen.system.event.screen_autorotate_state" /** * @brief Definition for key of SYSTEM_EVENT_SCREEN_AUTOROTATE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_SCREEN_AUTOROTATE_ON * @see EVENT_VAL_SCREEN_AUTOROTATE_OFF */ @@ -696,26 +696,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_SCREEN_AUTOROTATE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_SCREEN_AUTOROTATE_ON "on" /** * @brief Definition for value of EVENT_KEY_SCREEN_AUTOROTATE_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_SCREEN_AUTOROTATE_OFF "off" /** * @brief Definition for system-event of setting : state of mobile data. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_MOBILE_DATA_STATE */ #define SYSTEM_EVENT_MOBILE_DATA_STATE "tizen.system.event.mobile_data_state" /** * @brief Definition for key of SYSTEM_EVENT_MOBILE_DATA_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_MOBILE_DATA_OFF * @see EVENT_VAL_MOBILE_DATA_ON */ @@ -723,26 +723,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_MOBILE_DATA_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_MOBILE_DATA_OFF "off" /** * @brief Definition for value of EVENT_KEY_MOBILE_DATA_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_MOBILE_DATA_ON "on" /** * @brief Definition for system-event of setting : state of data roaming. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_DATA_ROAMING_STATE */ #define SYSTEM_EVENT_DATA_ROAMING_STATE "tizen.system.event.data_roaming_state" /** * @brief Definition for key of SYSTEM_EVENT_DATA_ROAMING_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_VAL_DATA_ROAMING_OFF * @see EVENT_VAL_DATA_ROAMING_ON */ @@ -750,26 +750,26 @@ typedef enum { /** * @brief Definition for value of EVENT_KEY_DATA_ROAMING_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_DATA_ROAMING_OFF "off" /** * @brief Definition for value of EVENT_KEY_DATA_ROAMING_STATE. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ #define EVENT_VAL_DATA_ROAMING_ON "on" /** * @brief Definition for system-event of setting : font setting. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @see EVENT_KEY_FONT_SET */ #define SYSTEM_EVENT_FONT_SET "tizen.system.event.font_set" /** * @brief Definition for key of SYSTEM_EVENT_FONT_SET. - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The value of this key is font name of string type by font-config. */ #define EVENT_KEY_FONT_SET "font_set" @@ -833,7 +833,7 @@ typedef enum { /** * @brief Adds the event handler for receiving event-data of interested events. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks If you want to add the privileged event, you MUST declare right privilge first. Unless that, this function returns #EVENT_ERROR_PERMISSION_DENIED. The privileged events are commented on remarks of it's definitions. * @param[in] event_name The interested event name * @param[in] callback The event callback called when the event occurs @@ -852,7 +852,7 @@ int event_add_event_handler(const char *event_name, event_cb callback, void *use /** * @brief Removes the registered event handler. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @param[in] event_handler The event handler * @return 0 on success, otherwise a negative error value * @retval #EVENT_ERROR_NONE Successful @@ -863,7 +863,7 @@ int event_remove_event_handler(event_handler_h event_handler); /** * @brief Sends the User-Event to receiver applications. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The format of User-Event's name MUST be "event.{sender's appid}.{user-defined name}", refer to 'The name-format of User-Event' section, If the event_name is invalid, the function returns #EVENT_ERROR_IO_ERROR. * @param[in] event_name The event's name to send * @param[in] event_data The event's data to send @@ -877,7 +877,7 @@ int event_publish_app_event(const char *event_name, bundle *event_data); /** * @brief Sends the User-Event to trusted receiver-applications. * - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks The application which has same certification with sender can receive the event. * @remarks The format of User-Event's name MUST be "event.{sender's appid}.{user-defined name}", refer to 'The name-format of User-Event' section, If the event_name is invalid, the function returns #EVENT_ERROR_IO_ERROR. * @param[in] event_name The event's name to send diff --git a/include/app_resource_manager.h b/include/app_resource_manager.h index d0c8080..8e16321 100644 --- a/include/app_resource_manager.h +++ b/include/app_resource_manager.h @@ -34,7 +34,7 @@ extern "C" { /** * @brief Enumeration for Resource Types - * @since_tizen 2.4 + * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif */ typedef enum { APP_RESOURCE_TYPE_IMAGE = 0, /**