From: Priya Kohli Date: Fri, 8 Mar 2024 06:27:55 +0000 (+0530) Subject: [9.0][location] Remove conditional statements for Mobile/Wearable profile X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fapi%2Flocation-manager.git;a=commitdiff_plain [9.0][location] Remove conditional statements for Mobile/Wearable profile Change-Id: Ifc24dbb439a95a2aeed67991f4a4a74d5f07501e Signed-off-by: Priya Kohli --- diff --git a/include/location_bounds.h b/include/location_bounds.h index 6347ca5..85e0f61 100644 --- a/include/location_bounds.h +++ b/include/location_bounds.h @@ -35,7 +35,7 @@ extern "C" { /** * @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) */ @@ -45,7 +45,7 @@ typedef struct { /** * @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 */ @@ -59,7 +59,7 @@ typedef enum { /** * @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. */ @@ -70,7 +70,7 @@ typedef enum { /** * @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) */ @@ -80,14 +80,14 @@ typedef enum { /** * @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 @@ -100,7 +100,7 @@ typedef bool (*polygon_coords_cb)(location_coords_s coords, void *user_data); /** * @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(). @@ -113,7 +113,7 @@ typedef void (*location_bounds_state_changed_cb)(location_boundary_state_e state /** * @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 @@ -132,7 +132,7 @@ int location_bounds_create_rect(location_coords_s top_left, location_coords_s bo /** * @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) @@ -151,7 +151,7 @@ int location_bounds_create_circle(location_coords_s center, double radius, locat /** * @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 @@ -171,7 +171,7 @@ int location_bounds_create_polygon(location_coords_s *coords_list, int length, l /** * @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 @@ -208,7 +208,7 @@ bool location_bounds_contains_coordinates_on_edge(location_bounds_h bounds, loca /** * @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, @@ -225,7 +225,7 @@ int location_bounds_get_type(location_bounds_h bounds, location_bounds_type_e *t /** * @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 @@ -242,7 +242,7 @@ int location_bounds_get_rect_coords(location_bounds_h bounds, location_coords_s /** * @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 @@ -259,7 +259,7 @@ int location_bounds_get_circle_coords(location_bounds_h bounds, location_coords_ /** * @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 @@ -278,7 +278,7 @@ int location_bounds_foreach_polygon_coords(location_bounds_h bounds, polygon_coo /** * @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 @@ -294,7 +294,7 @@ int location_bounds_destroy(location_bounds_h bounds); /** * @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 @@ -312,7 +312,7 @@ int location_bounds_set_state_changed_cb(location_bounds_h bounds, location_boun /** * @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 diff --git a/include/locations.h b/include/locations.h index 12d63bd..60de8da 100755 --- a/include/locations.h +++ b/include/locations.h @@ -36,7 +36,7 @@ extern "C" { /** * @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 { LOCATIONS_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ @@ -55,7 +55,7 @@ typedef enum { /** * @brief Enumeration for Location method type. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { LOCATIONS_METHOD_NONE = -1, /**< Undefined method */ @@ -69,7 +69,7 @@ typedef enum { /** * @brief Enumeration for Approximate accuracy level of given information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { LOCATIONS_ACCURACY_NONE = 0, /**< Invalid data */ @@ -84,7 +84,7 @@ typedef enum { /** * @brief Enumeration for the state of the location service. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { LOCATIONS_SERVICE_DISABLED, /**< Service is disabled */ @@ -95,7 +95,7 @@ typedef enum { /** * @deprecated Deprecated since 3.0 * @brief Enumeration for the location service accessibility state. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef enum { LOCATIONS_ACCESS_STATE_NONE, /**< Access state is not determined */ @@ -114,7 +114,7 @@ typedef enum { /** * @brief The location manager handle. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 */ typedef struct location_manager_s *location_manager_h; @@ -135,7 +135,7 @@ typedef struct location_manager_s *location_manager_h; /** * @brief Called at defined interval with updated position information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] latitude The updated latitude [-90.0 ~ 90.0] (degrees) * @param[in] longitude The updated longitude [-180.0 ~ 180.0] (degrees) * @param[in] altitude The updated altitude (meters) @@ -150,7 +150,7 @@ typedef void(*location_position_updated_cb)(double latitude, double longitude, d /** * @brief Called at defined interval with updated velocity information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] speed The updated speed (km/h) * @param[in] direction The updated direction (in degrees from the north) * @param[in] climb The updated climb (km/h) @@ -165,7 +165,7 @@ typedef void(*location_velocity_updated_cb)(double speed, double direction, doub /** * @brief Called at defined interval with updated location information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] error #LOCATIONS_ERROR_NONE Successful * @param[in] latitude The updated latitude [-90.0 ~ 90.0] (degrees) * @param[in] longitude The updated longitude [-180.0 ~ 180.0] (degrees) @@ -183,7 +183,7 @@ typedef void(*location_updated_cb)(location_error_e error, double latitude, doub /** * @brief Called when the state of location service is changed from enabled to disabled or vice versa. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] state The service state * @param[in] user_data The user data passed from the callback registration function * @pre Either location_manager_start() or location_manager_stop() will invoke this callback if you register this callback using location_manager_set_service_state_changed_cb(). @@ -197,7 +197,7 @@ typedef void(*location_service_state_changed_cb)(location_service_state_e state, /** * @brief Called when the user-defined zones are 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] latitude The updated latitude [-90.0 ~ 90.0] (degrees) * @param[in] longitude The updated longitude [-180.0 ~ 180.0] (degrees) @@ -214,7 +214,7 @@ typedef void(*location_zone_changed_cb)(location_boundary_state_e state, double /** * @brief Called when the state of location method is changed. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] method The method changed on setting * @param[in] enable The setting value changed * @param[in] user_data The user data passed from the callback registration function @@ -227,7 +227,7 @@ typedef void(*location_setting_changed_cb)(location_method_e method, bool enable /** * @brief Called once for each location bound. - * @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] user_data The user data passed from the callback registration function * @return @c true to continue with the next iteration of the loop, @@ -240,7 +240,7 @@ typedef bool(*location_bounds_cb)(location_bounds_h bounds, void *user_data); /** * @brief Called at defined interval with updated location information. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] latitude The updated latitude [-90.0 ~ 90.0] (degrees) * @param[in] longitude The updated longitude [-180.0 ~ 180.0] (degrees) * @param[in] altitude The updated altitude (meters) @@ -259,7 +259,7 @@ typedef void(*location_changed_cb)(double latitude, double longitude, double alt /** * @brief Called when the batch interval is expired. - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @param[in] num_of_location The number of location batch data * @param[in] user_data The user data passed from the callback registration function * @pre location_manager_start_batch() will invoke this callback if you register this callback using location_manager_set_location_batch_cb(). @@ -271,7 +271,7 @@ typedef void(*location_batch_cb)(int num_of_location, void *user_data); /** * @brief Gets iteratively to receive location batch data. - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @param[in] latitude The updated latitude [-90.0 ~ 90.0] (degrees) * @param[in] longitude The updated longitude [-180.0 ~ 180.0] (degrees) * @param[in] altitude The updated altitude (meters) @@ -291,7 +291,7 @@ typedef bool(*location_batch_get_location_cb)(double latitude, double longitude, /** * @brief Checks whether the given location method is available. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remark The specific error code can be obtained using the get_last_result() method. Error codes are described in Exception section. * @param[in] method The location method to be checked * @return @c true if the specified location method is supported, @@ -307,7 +307,7 @@ bool location_manager_is_supported_method(location_method_e method); /** * @brief Checks whether the given location method is enabled or not on setting. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] method The location method to be checked * @param[out] enable The result value of checking the given location method * @return @c 0 on success, @@ -345,7 +345,7 @@ int location_manager_enable_method(const location_method_e method, const bool en /** * @brief Creates a new location manager. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks You must release @a manager using location_manager_destroy(). * @param[in] method The location method * @param[out] manager The location manager handle that is newly created @@ -363,7 +363,7 @@ int location_manager_create(location_method_e method, location_manager_h *manage /** * @brief Releases the location manager. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -377,7 +377,7 @@ int location_manager_destroy(location_manager_h manager); /** * @brief Requests to update current location once. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks Do not request to start the location service using the same manager handler. @@ -401,7 +401,7 @@ int location_manager_request_single_location(location_manager_h manager, int tim /** * @brief Starts the location service. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks There is no limit on number of location managers for which this function was called. @@ -442,7 +442,7 @@ int location_manager_start(location_manager_h manager); /** * @brief Stops the location service. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This function initiates the process of stopping the service. When the process is finished, callback set using * #location_manager_set_service_state_changed_cb() will be called, with #LOCATIONS_SERVICE_DISABLED as first argument. * When that happens, the service is stopped and the user is notified. @@ -464,7 +464,7 @@ int location_manager_stop(location_manager_h manager); /** * @brief Adds bounds for a given location manager. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] bounds The location bounds handle * @return @c 0 on success, @@ -482,7 +482,7 @@ int location_manager_add_boundary(location_manager_h manager, const location_bou /** * @brief Deletes bounds for a given location manager. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] bounds The location bounds handle * @return @c 0 on success, @@ -498,7 +498,7 @@ int location_manager_remove_boundary(location_manager_h manager, const location_ /** * @brief Retrieves all location bounds by invoking a specific callback for each location bounds - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] callback The iteration callback * @param[in] user_data The user data to be passed to the callback function @@ -517,7 +517,7 @@ int location_manager_foreach_boundary(location_manager_h manager, location_bound /** * @brief Gets the given location manager's method. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[out] method The location method * @return @c 0 on success, @@ -533,7 +533,7 @@ int location_manager_get_method(location_manager_h manager, location_method_e *m /** * @brief Gets the current position information. * @details The result contains the current altitude, latitude, and longitude with a measurement timestamp. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -557,7 +557,7 @@ int location_manager_get_position(location_manager_h manager, double *altitude, /** * @brief Gets the current position information. * @details The result contains the current altitude, latitude, longitude, climb, direction, speed, level, horizontal, and vertical with a measurement timestamp. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -587,7 +587,7 @@ int location_manager_get_location(location_manager_h manager, double *altitude, /** * @brief Gets the current velocity information. * @details The result contains the current climb, direction, and speed with a measurement timestamp. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -609,7 +609,7 @@ int location_manager_get_velocity(location_manager_h manager, double *climb, dou /** * @brief Gets the current accuracy information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -650,7 +650,7 @@ int location_manager_get_velocity_accuracy(location_manager_h manager, double *v /** * @brief Gets the last position information which is recorded. * @details The @a altitude, @a latitude, @a longitude, and @c timestamp values should be 0, if there is no record of any previous position information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -672,7 +672,7 @@ int location_manager_get_last_position(location_manager_h manager, double *altit /** * @brief Gets the last location information. * @details The @a altitude, @a latitude, @a longitude, @a climb, @a direction, @a speed, and @c timestamp values should be 0, if there is no record of any previous position information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -700,7 +700,7 @@ int location_manager_get_last_location(location_manager_h manager, double *altit /** * @brief Gets the last velocity information which is recorded. * @details The @a climb, @a direction, and @a speed values should be @c 0, if there is no record of any previous velocity information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -721,7 +721,7 @@ int location_manager_get_last_velocity(location_manager_h manager, double *climb /** * @brief Gets the last accuracy information which is recorded. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -742,7 +742,7 @@ int location_manager_get_last_accuracy(location_manager_h manager, location_accu /** * @deprecated Deprecated since 3.0 * @brief Gets the current application's location accessibility status. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[out] state The current location service accessibility status * @return @c 0 on success, * otherwise a negative error value @@ -756,7 +756,7 @@ int location_manager_get_accessibility_state(location_accessibility_state_e *sta /** * @brief Registers a callback function to be invoked at defined interval with updated position information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] callback The callback function to register * @param[in] interval The interval [1 ~ 120] (seconds) @@ -775,7 +775,7 @@ int location_manager_set_position_updated_cb(location_manager_h manager, locatio /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -789,7 +789,7 @@ int location_manager_unset_position_updated_cb(location_manager_h manager); /** * @brief Registers a callback function to be invoked at defined interval with updated velocity information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] callback The callback function to register * @param[in] interval The interval [1 ~ 120] (seconds) @@ -808,7 +808,7 @@ int location_manager_set_velocity_updated_cb(location_manager_h manager, locatio /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -822,7 +822,7 @@ int location_manager_unset_velocity_updated_cb(location_manager_h manager); /** * @brief Registers a callback function to be invoked when the location service state is changed. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -843,7 +843,7 @@ int location_manager_set_service_state_changed_cb(location_manager_h manager, lo /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -857,7 +857,7 @@ int location_manager_unset_service_state_changed_cb(location_manager_h manager); /** * @brief Registers a callback function to be invoked when the previously set boundary area is entered or left. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -876,7 +876,7 @@ int location_manager_set_zone_changed_cb(location_manager_h manager, location_zo /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -890,7 +890,7 @@ int location_manager_unset_zone_changed_cb(location_manager_h manager); /** * @brief Registers a callback function to be invoked when the location setting is changed. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] method The method to observe * @param[in] callback The callback function to register * @param[in] user_data The user data to be passed to the callback function @@ -909,7 +909,7 @@ int location_manager_set_setting_changed_cb(location_method_e method, location_s /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] method The method to observe * @return @c 0 on success, * otherwise a negative error value @@ -924,7 +924,7 @@ int location_manager_unset_setting_changed_cb(location_method_e method); /** * @brief Gets the distance in meters between two locations. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] start_latitude The starting latitude [-90.0 ~ 90.0] (degrees) * @param[in] start_longitude The starting longitude [-180.0 ~ 180.0] (degrees) * @param[in] end_latitude The ending latitude [-90.0 ~ 90.0] (degrees) @@ -941,7 +941,7 @@ int location_manager_get_distance(double start_latitude, double start_longitude, /** * @brief Registers a callback function to be invoked at minimum interval or minimum distance with updated position information. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] manager The location manager handle * @param[in] callback The callback function to register * @param[in] interval The minimum interval between position updates [1 ~ 120] (seconds) @@ -961,7 +961,7 @@ int location_manager_set_distance_based_location_changed_cb(location_manager_h m /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -975,7 +975,7 @@ int location_manager_unset_distance_based_location_changed_cb(location_manager_h /** * @brief Registers a callback function to be invoked at defined interval with updated location information. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] manager The location manager handle * @param[in] callback The callback function to register * @param[in] interval The interval [1 ~ 120] (seconds) @@ -994,7 +994,7 @@ int location_manager_set_location_changed_cb(location_manager_h manager, locatio /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif + * @since_tizen 2.4 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -1008,7 +1008,7 @@ int location_manager_unset_location_changed_cb(location_manager_h manager); /** * @brief Registers a callback function to be invoked when batch_period is expired. - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @remarks The batch_period should be greater than or equal to the batch_interval. * In addition, sometimes the period may not work as you intended, the maximum permissible value for batch_period is device specific. * @param[in] manager The location manager handle @@ -1031,7 +1031,7 @@ int location_manager_set_location_batch_cb(location_manager_h manager, location_ /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -1047,7 +1047,7 @@ int location_manager_unset_location_batch_cb(location_manager_h manager); * @brief Starts the location batch service. * @details Calling this function starts location batch service, location_batch_cb() will be invoked every @a batch_period seconds. * After that, you can obtain all locations with location_manager_foreach_location_batch(). - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks Calling this function invokes a location service event. When the location service is enabled, the service state change callback @@ -1074,7 +1074,7 @@ int location_manager_start_batch(location_manager_h manager); /** * @brief Stops the location batch service. - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @remarks This function initiates the process of stopping the service. When the process is finished, callback set using * #location_manager_set_service_state_changed_cb() will be called, with #LOCATIONS_SERVICE_DISABLED as the first argument. * @param[in] manager The location manager handle @@ -1094,7 +1094,7 @@ int location_manager_stop_batch(location_manager_h manager); /** * @brief Retrieves all location information by invoking a specific callback for each location data. - * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif + * @since_tizen 2.3.2 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -1237,7 +1237,7 @@ int location_manager_set_fused_mode(location_manager_h manager, location_fused_m /** * @brief Called once for each satellite in range. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] azimuth The azimuth of the satellite (degrees) * @param[in] elevation The elevation of the satellite (meters) * @param[in] prn The PRN of the satellite @@ -1255,7 +1255,7 @@ typedef bool(*gps_status_get_satellites_cb)(unsigned int azimuth, unsigned int e /** * @brief Called at defined interval with updated satellite information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[out] num_of_active The last number of active satellites * @param[out] num_of_inview The last number of satellites in view * @param[out] timestamp The last timestamp (time when measurement took place or @c 0 if valid) @@ -1269,7 +1269,7 @@ typedef void(*gps_status_satellite_updated_cb)(int num_of_active, int num_of_inv /** * @brief Gets the GPS NMEA data. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @remarks This call is valid only for location managers with #LOCATIONS_METHOD_GPS method. * You must release @a nmea using @c free(). * @param[in] manager The location manager handle @@ -1289,7 +1289,7 @@ int gps_status_get_nmea(location_manager_h manager, char **nmea); /** * @brief Gets the information of satellites. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks This call is valid only for location managers with #LOCATIONS_METHOD_GPS method. @@ -1313,7 +1313,7 @@ int gps_status_get_satellite(location_manager_h manager, int *num_of_active, int /** * @brief Registers a callback function to be invoked at defined interval with updated satellite information. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @param[in] manager The location manager handle @@ -1339,7 +1339,7 @@ int gps_status_set_satellite_updated_cb(location_manager_h manager, gps_status_s /** * @brief Unregisters the callback function. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @param[in] manager The location manager handle * @return @c 0 on success, * otherwise a negative error value @@ -1353,7 +1353,7 @@ int gps_status_unset_satellite_updated_cb(location_manager_h manager); /** * @brief Invokes the callback function for each satellite. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks This function is valid only for location managers with the #LOCATIONS_METHOD_GPS method. @@ -1379,7 +1379,7 @@ int gps_status_foreach_satellites_in_view(location_manager_h manager, gps_status /** * @brief Gets the last information of satellites. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks This call is valid only for location managers with #LOCATIONS_METHOD_GPS method. @@ -1404,7 +1404,7 @@ int gps_status_get_last_satellite(location_manager_h manager, int *num_of_active /** * @brief Invokes the callback function for each last satellite which is recorded. - * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif + * @since_tizen 2.3 * @privlevel public * @privilege %http://tizen.org/privilege/location * @remarks This function is valid only for location managers with the #LOCATIONS_METHOD_GPS method.