/**
* @brief Enumeration for the battery level status.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum
{
* @details It returns an integer value from @c 0 to @c 100 that indicates remaining battery charge
* as a percentage of the maximum level.
*
- * @since_tizen 2.3
- *
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ *
* @remarks In order to be notified when the battery state changes, use system_info_set_changed_cb().
*
* @param[out] percent The remaining battery charge percentage (@c 0 ~ @c 100)
/**
* @brief Gets the charging state.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @param[out] charging The battery charging state
*
/**
* @brief Gets the battery level status.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @param[out] status The battery level status
*
/**
* @brief Enumeration for the device state callback.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum
{
* DEVICE_CALLBACK_BATTERY_CHARGING bool \n
* DEVICE_CALLBACK_DISPLAY_STATE int
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @param[out] type The device type to monitor
* @param[out] value The changed value \n
/**
* @brief Adds a callback to the observing device state.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @param[in] type The device type to monitor
* @param[in] callback The callback function to add
/**
* @brief Removes a device callback function.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @param[in] type The device type to monitor
* @param[in] callback The callback function to remove
/**
* @brief Enumerations of error code for Device.
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum
{
/**
* @brief Gets the number of display devices.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Gets the maximum brightness value that can be set.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Gets the display brightness value.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Sets the display brightness value.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Enumeration for the available display states.
* @details An application cannot put the device into the power off state or the suspend state.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum
{
/**
* @brief Gets the current display state.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Changes the display state by force.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Gets the number of vibrators.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/haptic
*
* @brief Opens a haptic-vibration device.
* @details Internally, it makes a connection to the vibrator.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/haptic
*
* @brief Closes a haptic-vibration device.
* @details Internally, it disconnects the connection to the vibrator.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/haptic
*
* @brief Vibrates during the specified time with a constant intensity.
* @details This function can be used to start monotonous vibration for the specified time.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/haptic
*
* @brief Stops all vibration effects which are being played.
* @details This function can be used to stop all effects started by device_haptic_vibrate().
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/haptic
*
/**
* @brief Gets the max brightness value of a LED that is located next to the camera.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/led
*
/**
* @brief Gets the brightness value of a LED that is located next to the camera.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/led
*
/**
* @brief Sets the brightness value of a LED that is located next to the camera.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/led
*
/**
* @brief Enumeration for custom LED flags.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum {
LED_CUSTOM_DUTY_ON = 1 << 0, /**< blink LED */
/**
* @brief Plays the custom effect of the service LED that is located to the front of a device.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/led
*
/**
* @brief Stops the custom effect of the service LED that is located to the front of a device.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/led
*
* POWER_LOCK_DISPLAY ON ON(normal) \n
* POWER_LOCK_DISPLAY_DIM ON ON(dim)
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
* @remarks An application can lock the specific type.
* @remarks These enums are mutually exclusive.
* @brief Locks the given lock state for a specified time.
* @details After the given @a timeout_ms (in milliseconds), unlock the given lock state automatically.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Releases the given lock state locked before.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*
/**
* @brief Changes the current power state to the normal/dim state.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/display
*