/**
* @brief The structure type to represent coordinates with latitude and longitude.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct {
double latitude; /**< The latitude [-90.0 ~ 90.0] (degrees) */
/**
* @brief Enumeration for error code for Location manager.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
LOCATION_BOUNDS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */
/**
* @brief Enumeration for Location boundary type.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
LOCATION_BOUNDS_RECT = 1, /**< Rectangular geographical area type. */
/**
* @brief Enumeration for the boundary state.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
LOCATIONS_BOUNDARY_IN, /**< Boundary In (Zone In) */
/**
* @brief The location boundary handle.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct location_bounds_s *location_bounds_h;
/**
* @brief Gets called iteratively to notify you of coordinates of a polygon.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] coords The coordinates
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n
/**
* @brief Called when the given boundary is entered or exited.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] state The boundary state
* @param[in] user_data The user data passed from the start function
* @pre location_manager_start() will invoke this callback if you register this callback using location_bounds_set_state_changed_cb().
/**
* @brief Creates a rect type of new location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks You must release @a bounds using location_bounds_destroy().
* @param[in] top_left The top left position
* @param[in] bottom_right The bottom right position
/**
* @brief Creates a circle type of new location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks You must release @a bounds using location_bounds_destroy().
* @param[in] center The center position
* @param[in] radius The radius of a circle (meters)
/**
* @brief Creates a polygon type of new location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks You must release @a bounds using location_bounds_destroy().
* @remarks @a length should be more than @c 3 to represent polygon.
* @param[in] coords_list The list of coordinates
/**
* @brief Checks whether the bounds contains the specified coordinates.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section.
* @param[in] bounds The location bounds handle
* @param[in] coords The coordinates
/**
* @brief Gets the type of location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @param[out] type The type of location bounds
* @return @c 0 on success,
/**
* @brief Gets the center position and radius of circle bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @param[out] top_left The top left position
* @param[out] bottom_right The bottom right position
/**
* @brief Gets the center position and radius of circle bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @param[out] center The center position of the circle
* @param[out] radius The radius of the circle
/**
* @brief Get the coordinates of a polygon.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @param[in] callback The iteration callback
* @param[in] user_data The user data to be passed to the callback function
/**
* @brief Releases the location bounds.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @return @c 0 on success,
* otherwise a negative error value
/**
* @brief Registers a callback function to be invoked when the boundary area is entered or exited.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @param[in] callback The callback function to register
* @param[in] user_data The user data to be passed to the callback function
/**
* @brief Unregisters the callback function.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @param[in] bounds The location bounds handle
* @return @c 0 on success,
* otherwise a negative error value