Changed wearable 3.0 API version
[platform/core/api/connection.git] / include / net_connection.h
index 657ae0e..238b0b1 100755 (executable)
@@ -294,7 +294,7 @@ int connection_get_proxy(connection_h connection, connection_address_family_e ad
 
 /**
  * @brief Gets the MAC address of the Wi-Fi or ethernet.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0
  * @remarks @a mac_addr must be released with free() by you.
  * @param[in] connection  The handle of the connection
  * @param[in] type  The type of current network connection
@@ -343,7 +343,7 @@ int connection_get_wifi_state(connection_h connection, connection_wifi_state_e*
 /**
  * @brief Gets the state of the Ethernet.
  * @details The returned state is for the Ethernet connection state.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0
  * @privlevel public
  * @privilege %http://tizen.org/privilege/network.get
  * @param[in] connection  The connection handle
@@ -360,7 +360,7 @@ int connection_get_ethernet_state(connection_h connection, connection_ethernet_s
 /**
 * @brief Checks for ethernet cable is attached or not.
 * @details The returned state is for the ethernet cable state.
-* @since_tizen 2.4
+* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0
 * @privlevel public
 * @privilege %http://tizen.org/privilege/network.get
 * @param[in] connection  The handle of the connection
@@ -385,7 +385,7 @@ typedef void(*connection_ethernet_cable_state_chaged_cb)(
 
 /**
  * @brief Registers callback for ethernet cable is plugged [in/out] event.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0
  * @param[in] callback  The callback function to be called
  * @param[in] user_data The user data passed to the callback function
  * @return 0 on success, otherwise negative error value
@@ -399,7 +399,7 @@ int connection_set_ethernet_cable_state_chaged_cb( connection_h connection,
 
 /**
  * @brief Unregisters callback for ethernet cable is plugged [in/out] event.
- * @since_tizen 2.4
+ * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0
  * @param[in] connection  The handle of connection
  * @return 0 on success, otherwise negative error value
  * @retval #CONNECTION_ERROR_NONE  Successful