Deprecating geofence-manager APIs 61/301961/1 tizen_8.0
authorPriya Kohli <priya.kohli@samsung.com>
Tue, 28 Nov 2023 11:25:32 +0000 (16:55 +0530)
committerPriya Kohli <priya.kohli@samsung.com>
Tue, 28 Nov 2023 11:28:46 +0000 (11:28 +0000)
Change-Id: I205acf16cd121a2ce6854b4fc89da62990db536d
Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
include/geofence_manager.h

index 29ea845b10fc32e49fd60f01fa9e0d7faa7ea95c..6cad31b28ec2e3d2f79966b502961d8f9da8265c 100644 (file)
@@ -551,6 +551,7 @@ int geofence_manager_get_place_name(geofence_manager_h manager, int place_id, ch
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Creates a geopoint type of new geofence.
  * @since_tizen 2.4
  * @remarks The fence must be released using geofence_destroy().\n
@@ -577,6 +578,7 @@ int geofence_create_geopoint(int place_id, double latitude, double longitude, in
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Creates a bluetooth type of new geofence.
  * @since_tizen 2.4
  * @remarks The fence must be released using geofence_destroy().\n
@@ -601,6 +603,7 @@ int geofence_create_bluetooth(int place_id, const char *bssid, const char *ssid,
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Creates a Wi-Fi type of new geofence.
  * @since_tizen 2.4
  * @remarks The fence must be released using geofence_destroy().\n
@@ -625,6 +628,7 @@ int geofence_create_wifi(int place_id, const char *bssid, const char *ssid, geof
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Releases the geofence.
  * @since_tizen 2.4
  * @remarks Since 3.0, %http://tizen.org/privilege/location privilege is not required.
@@ -643,6 +647,7 @@ int geofence_destroy(geofence_h fence) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the type of geofence.
  * @since_tizen 2.4
  * @param[in] fence The geofence handle
@@ -660,6 +665,7 @@ int geofence_get_type(geofence_h fence, geofence_type_e *type) TIZEN_DEPRECATED_
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the ID of place.
  * @since_tizen 2.4
  * @param[in] fence The geofence handle
@@ -677,6 +683,7 @@ int geofence_get_place_id(geofence_h fence, int *place_id) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the latitude of geofence.
  * @since_tizen 2.4
  * @remarks The geofence has latitude only when geofence_type_e is GEOFENCE_TYPE_GEOPOINT.
@@ -697,6 +704,7 @@ int geofence_get_latitude(geofence_h fence, double *latitude) TIZEN_DEPRECATED_A
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the longitude of geofence.
  * @since_tizen 2.4
  * @remarks The geofence has longitude only when geofence_type_e is GEOFENCE_TYPE_GEOPOINT.
@@ -717,6 +725,7 @@ int geofence_get_longitude(geofence_h fence, double *longitude) TIZEN_DEPRECATED
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the radius of geofence.
  * @since_tizen 2.4
  * @remarks The geofence has radius only when geofence_type_e is GEOFENCE_TYPE_GEOPOINT.
@@ -737,6 +746,7 @@ int geofence_get_radius(geofence_h fence, int *radius) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the address of geofence
  * @since_tizen 2.4
  * @remarks The geofence has address only when geofence_type_e is GEOFENCE_TYPE_GEOPOINT. The address must be released using free().
@@ -757,6 +767,7 @@ int geofence_get_address(geofence_h fence, char **address) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the bssid of geofence
  * @since_tizen 2.4
  * @remarks The geofence has bssid only when geofence_type_e is GEOFENCE_TYPE_BLUETOOTH or GEOFENCE_TYPE_WIFI. The bssid must be released using free().
@@ -776,6 +787,7 @@ int geofence_get_bssid(geofence_h fence, char **bssid) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the ssid of geofence
  * @since_tizen 2.4
  * @remarks The geofence has ssid only when geofence_type_e is GEOFENCE_TYPE_BLUETOOTH or GEOFENCE_TYPE_WIFI. The ssid must be released using free().
@@ -795,6 +807,7 @@ int geofence_get_ssid(geofence_h fence, char **ssid) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Returns The geofence status of specified geofence.
  * @since_tizen 2.4
  * @remarks A status must be released using geofence_status_destroy()
@@ -815,6 +828,7 @@ int geofence_status_create(int geofence_id, geofence_status_h *status) TIZEN_DEP
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Releases the memory, used by the status data.
  * @since_tizen 2.4
  * @param[in] status The status handle of a specified geofence
@@ -831,6 +845,7 @@ int geofence_status_destroy(geofence_status_h status) TIZEN_DEPRECATED_API;
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the state of geofence.
  * @since_tizen 2.4
  * @param[in] status The geofence status handle
@@ -846,6 +861,7 @@ int geofence_status_get_state(geofence_status_h status, geofence_state_e *state)
 
 
 /**
+ * @deprecated Deprecated since 8.0.
  * @brief Gets the amount of seconds geofence is in the current state.
  * @since_tizen 2.4
  * @param[in] status The geofence status handle