Deprecating Tizen.Location.Geofence APIs (#5598)
authorpriyakohl <114220343+priyakohl@users.noreply.github.com>
Wed, 11 Oct 2023 05:38:12 +0000 (11:08 +0530)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 05:38:12 +0000 (11:08 +0530)
* Deprecating Tizen.Location.Geofence APIs

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Removing type

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Indentation fixes

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
* Modified Note

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
---------

Signed-off-by: Priya Kohli <priya.kohli@samsung.com>
Co-authored-by: randeepsingh01 <49635973+randeepsingh01@users.noreply.github.com>
src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceData.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceStatus.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceErrorFactory.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs
src/Tizen.Location.Geofence/doc/api/Tizen.Location.Geofence.md

index 60ae583..56c8ce7 100755 (executable)
@@ -31,6 +31,7 @@ namespace Tizen.Location.Geofence
     /// and the manufacturer's assigned 24-bit identifier for the radio chipset in the WAP.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class Fence : IDisposable
     {
         private bool _disposed = false;
@@ -59,6 +60,7 @@ namespace Tizen.Location.Geofence
         /// Gets the type of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public FenceType Type
         {
             get
@@ -78,6 +80,7 @@ namespace Tizen.Location.Geofence
         /// Gets the ID of the place.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int PlaceId
         {
             get
@@ -97,6 +100,7 @@ namespace Tizen.Location.Geofence
         /// Gets the longitude of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public double Longitude
         {
             get
@@ -117,6 +121,7 @@ namespace Tizen.Location.Geofence
         /// Gets the latitude of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public double Latitude
         {
             get
@@ -136,6 +141,7 @@ namespace Tizen.Location.Geofence
         /// Gets the radius of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int Radius
         {
             get
@@ -155,6 +161,7 @@ namespace Tizen.Location.Geofence
         /// Gets the address of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public string Address
         {
             get
@@ -174,6 +181,7 @@ namespace Tizen.Location.Geofence
         /// Gets the BSSID of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public string Bssid
         {
             get
@@ -193,6 +201,7 @@ namespace Tizen.Location.Geofence
         /// Gets the SSID of geofence.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public string Ssid
         {
             get
@@ -221,6 +230,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public static Fence CreateGPSFence(int placeId, double latitude, double longitude, int radius, string address)
         {
             IntPtr handle = IntPtr.Zero;
@@ -244,6 +254,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public static Fence CreateWifiFence(int placeId, string bssid, string ssid)
         {
             IntPtr handle = IntPtr.Zero;
@@ -267,6 +278,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public static Fence CreateBTFence(int placeId, string bssid, string ssid)
         {
             IntPtr handle = IntPtr.Zero;
@@ -283,6 +295,7 @@ namespace Tizen.Location.Geofence
         /// The overloaded Dispose API for destroying the fence handle.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void Dispose()
         {
             Dispose(true);
@@ -293,6 +306,7 @@ namespace Tizen.Location.Geofence
         /// Dispose.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
index d328f4e..1044219 100755 (executable)
@@ -21,6 +21,7 @@ namespace Tizen.Location.Geofence
     /// Represents the geofence list item data.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class FenceData
     {
         internal FenceData(int fenceId, IntPtr handle, int index, int count)
@@ -34,6 +35,7 @@ namespace Tizen.Location.Geofence
         /// The geofence instance.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public Fence Fence
         {
             get;
@@ -44,6 +46,7 @@ namespace Tizen.Location.Geofence
         /// The geofence ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int GeofenceId
         {
             get;
@@ -55,6 +58,7 @@ namespace Tizen.Location.Geofence
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>The index value starts from 1.</value>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int Index
         {
             get;
@@ -65,6 +69,7 @@ namespace Tizen.Location.Geofence
         /// The total number of fences that exists for the requester.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int Count
         {
             get;
@@ -76,6 +81,7 @@ namespace Tizen.Location.Geofence
     /// Represents the place list item data.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class PlaceData
     {
         internal PlaceData(int id, string name, int index, int count)
@@ -89,6 +95,7 @@ namespace Tizen.Location.Geofence
         /// The current place ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int PlaceId
         {
             get;
@@ -99,6 +106,7 @@ namespace Tizen.Location.Geofence
         /// The current place name.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public string Name
         {
             get;
@@ -110,6 +118,7 @@ namespace Tizen.Location.Geofence
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>The index value starts from 1.</value>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int Index
         {
             get;
@@ -120,6 +129,7 @@ namespace Tizen.Location.Geofence
         /// The total number of places that exists for the requester.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int Count
         {
             get;
index 23c0efb..0012cb1 100644 (file)
@@ -26,6 +26,7 @@ namespace Tizen.Location.Geofence
     /// </list>
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class FenceStatus : IDisposable
     {
         private bool _disposed = false;
@@ -43,6 +44,7 @@ namespace Tizen.Location.Geofence
         /// <param name="fenceId">The geofence ID.</param>
         /// <exception cref="ArgumentException">In case of an invalid parameter.</exception>
         /// <exception cref="NotSupportedException">In case of geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public FenceStatus(int fenceId)
         {
             IntPtr handle;
@@ -69,6 +71,7 @@ namespace Tizen.Location.Geofence
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public GeofenceState State
         {
             get
@@ -89,6 +92,7 @@ namespace Tizen.Location.Geofence
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int Duration
         {
             get
@@ -108,6 +112,7 @@ namespace Tizen.Location.Geofence
         /// The overloaded Dispose API for destroying the fence handle.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void Dispose()
         {
             Dispose(true);
@@ -118,6 +123,7 @@ namespace Tizen.Location.Geofence
         /// Dispose.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
index 9f18eca..48c5601 100755 (executable)
  * limitations under the License.
  */
 
+using System;
+
 namespace Tizen.Location.Geofence
 {
     /// <summary>
     /// Enumeration for the geofence types.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public enum FenceType
     {
         /// <summary>
@@ -45,6 +48,7 @@ namespace Tizen.Location.Geofence
     /// Enumeration for the state of geofence.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public enum GeofenceState
     {
         /// <summary>
@@ -70,6 +74,7 @@ namespace Tizen.Location.Geofence
     /// Enumeration for the geofence management events.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public enum GeofenceEventType
     {
         /// <summary>
@@ -131,6 +136,7 @@ namespace Tizen.Location.Geofence
     /// Enumeration for the provider of proximity.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public enum ProximityProvider
     {
         /// <summary>
@@ -168,6 +174,7 @@ namespace Tizen.Location.Geofence
     /// Enumeration for the state of proximity.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public enum ProximityState
     {
         /// <summary>
index a48e007..42f0ea1 100755 (executable)
@@ -24,6 +24,7 @@ namespace Tizen.Location.Geofence
     /// Enumeration for the types of error occured, if any.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public enum GeofenceError
     {
         /// <summary>
index b16ee11..dd5bbff 100755 (executable)
@@ -22,6 +22,7 @@ namespace Tizen.Location.Geofence
     /// Event arguments are passed when an event is triggered to notify the proximity state change.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class ProximityStateEventArgs : EventArgs
     {
         /// <summary>
@@ -42,6 +43,7 @@ namespace Tizen.Location.Geofence
         /// The geofence ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int GeofenceId
         {
             get;
@@ -51,6 +53,7 @@ namespace Tizen.Location.Geofence
         /// The proximity state.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public ProximityState State
         {
             get;
@@ -60,6 +63,7 @@ namespace Tizen.Location.Geofence
         /// The proximity provider.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public ProximityProvider Provider
         {
             get;
@@ -70,6 +74,7 @@ namespace Tizen.Location.Geofence
     /// Event arguments are passed when an event is triggered to notify the geofence state change.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class GeofenceStateEventArgs : EventArgs
     {
         /// <summary>
@@ -88,6 +93,7 @@ namespace Tizen.Location.Geofence
         /// The specified geofence ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int GeofenceId
         {
             get;
@@ -97,6 +103,7 @@ namespace Tizen.Location.Geofence
         /// The geofence state.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public GeofenceState State
         {
             get;
@@ -107,6 +114,7 @@ namespace Tizen.Location.Geofence
     /// Event arguments are passed when an event occurs in geofence and the place, such as add, update, etc..
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class GeofenceResponseEventArgs : EventArgs
     {
         /// <summary>
@@ -129,6 +137,7 @@ namespace Tizen.Location.Geofence
         /// The place ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int PlaceId
         {
             get;
@@ -138,6 +147,7 @@ namespace Tizen.Location.Geofence
         /// The specified geofence ID.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int FenceId
         {
             get;
@@ -147,6 +157,7 @@ namespace Tizen.Location.Geofence
         /// The error code for the particular action.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public GeofenceError ErrorCode
         {
             get;
@@ -156,6 +167,7 @@ namespace Tizen.Location.Geofence
         /// The result code for the particular place and geofence management.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public GeofenceEventType EventType
         {
             get;
index 6019721..11f683e 100755 (executable)
@@ -36,6 +36,7 @@ namespace Tizen.Location.Geofence
     /// </list>
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class GeofenceManager : IDisposable
     {
         private bool _disposed = false;
@@ -53,6 +54,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="OutOfMemoryException">In case of out of memory condition.</exception>
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public GeofenceManager()
         {
             IntPtr handle;
@@ -78,6 +80,7 @@ namespace Tizen.Location.Geofence
         /// Checks whether the Geofence manager is available or not.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public static bool IsSupported
         {
             get
@@ -106,6 +109,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void Start(int geofenceId)
         {
             GeofenceError ret = (GeofenceError)Interop.GeofenceManager.Start(Handle, geofenceId);
@@ -129,6 +133,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void Stop(int geofenceId)
         {
             GeofenceError ret = (GeofenceError)Interop.GeofenceManager.Stop(Handle, geofenceId);
@@ -155,6 +160,7 @@ namespace Tizen.Location.Geofence
         /// Call to Start() will invoke this event.
         /// </remarks>
         /// <exception cref="NotSupportedException">In case the feature is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public event EventHandler<GeofenceStateEventArgs> StateChanged
         {
             add
@@ -200,6 +206,7 @@ namespace Tizen.Location.Geofence
         /// Call to Start() will invoke this event.
         /// </remarks>
         /// <exception cref="NotSupportedException">In case the feature is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public event EventHandler<ProximityStateEventArgs> ProximityChanged
         {
             add
@@ -247,6 +254,7 @@ namespace Tizen.Location.Geofence
         /// The value of place_id or geofence_id is -1 when the place ID or geofence ID is not assigned.
         /// </remarks>
         /// <exception cref="NotSupportedException">In case the feature is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public event EventHandler<GeofenceResponseEventArgs> GeofenceEventChanged
         {
             add
@@ -279,6 +287,7 @@ namespace Tizen.Location.Geofence
         /// The overloaded Dispose API for destroying the GeofenceManager handle.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void Dispose()
         {
             Dispose(true);
@@ -289,6 +298,7 @@ namespace Tizen.Location.Geofence
         /// Dispose.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
index 3923657..7a3f95f 100755 (executable)
@@ -24,6 +24,7 @@ namespace Tizen.Location.Geofence
     /// A user can manage all the geofence or place related data and events.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API11. Might be removed in API13")]
     public class VirtualPerimeter
     {
         private IntPtr Handle;
@@ -34,6 +35,7 @@ namespace Tizen.Location.Geofence
         /// <since_tizen> 3 </since_tizen>
         /// <param name="manager">The GeofenceManager instance.</param>
         /// <exception cref="ArgumentException"> In case of an invalid parameter.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public VirtualPerimeter(GeofenceManager manager)
         {
             if (manager == null)
@@ -57,6 +59,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int AddPlaceName(string name)
         {
             int placeId = 0;
@@ -80,6 +83,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any System error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void UpdatePlace(int placeId, string name)
         {
             GeofenceError ret = (GeofenceError)Interop.VirtualPerimeter.UpdatePlace(Handle, placeId, name);
@@ -99,6 +103,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void RemovePlace(int placeId)
         {
             GeofenceError ret = (GeofenceError)Interop.VirtualPerimeter.RemovePlace(Handle, placeId);
@@ -120,6 +125,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public int AddGeofence(Fence fence)
         {
             int fenceId = 0;
@@ -142,6 +148,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public void RemoveGeofence(int fenceId)
         {
             GeofenceError ret = (GeofenceError)Interop.VirtualPerimeter.RemoveFence(Handle, fenceId);
@@ -162,6 +169,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public string GetPlaceName(int placeId)
         {
             string name = "";
@@ -183,6 +191,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public IEnumerable<PlaceData> GetPlaceDataList()
         {
             List<PlaceData> places = new List<PlaceData>();
@@ -214,6 +223,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public IEnumerable<FenceData> GetFenceDataList()
         {
             List<FenceData> fences = new List<FenceData>();
@@ -247,6 +257,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
         /// <exception cref="UnauthorizedAccessException">In case privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">In case the geofence is not supported.</exception>
+        [Obsolete("Deprecated since API11. Might be removed in API13")]
         public IEnumerable<FenceData> GetGeofenceDataListByPlaceId(int placeId)
         {
             List<FenceData> fences = new List<FenceData>();
index 6d992ae..56a9234 100755 (executable)
@@ -4,6 +4,10 @@ summary: The Tizen.Location.Geofence namespace provides classes for virtual peri
 remarks: *content
 ---
 ## Overview
+
+> [!NOTE]
+> All Geofence APIs have been deprecated since Tizen 8.0 (API Level 11) which means they are planned to be removed after two releases.
+
 This API provides functions to set the gofence with a geopoint, MAC address of Wi-Fi, and Bluetooth address.
 Also, notifications on events like changing in service status are provided.