/**
* @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 */
* @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.
*/
* @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"
* @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"
* @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"
* @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"
* @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"
* @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"
* @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"
* @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"
* @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"
/**
* @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"
* 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
*
/**
* @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
*
* @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
/**
* @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()
/**
* @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 */
/**
* @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
*/
/**
* @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
/**
* @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
/**
* @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
/**
* @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
*/
/**
* @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
/**
* @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
/**
* @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.
/**
* @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.
/**
* @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
/**
* @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
/**
* @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
/**
* @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
/**
* @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
*/
/**
* @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
*/
/**
* @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
/**
* @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
*/
/**
* @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
*/
/**
* @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
*/
/**
* @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
/**
* @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
/**
* @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.
*/
/**
* @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.
/**
* @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
*/
/**
* @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,
/**
* @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,
/**
* @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
*/
/**
* @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
*/
/**
* @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
*/
/**
* @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
*/
/**
* @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
*/
/**
* @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"
/**
* @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
/**
* @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
/**
* @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
/**
* @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