[TCSACR-99] modify parameter type for CreateGPSFence 53/149653/5
authorjomui <jongmun.woo@samsung.com>
Wed, 13 Sep 2017 00:11:32 +0000 (09:11 +0900)
committerjomui <jongmun.woo@samsung.com>
Fri, 15 Sep 2017 07:41:08 +0000 (16:41 +0900)
Signed-off-by: jomui <jongmun.woo@samsung.com>
Change-Id: Ia840b6d4b4fab59984934f4bcbf13c8cc1c122ec

src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceStatus.cs
src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs

index 7dbe95b..5443cf2 100755 (executable)
@@ -207,7 +207,7 @@ namespace Tizen.Location.Geofence
         /// <summary>
         /// Creates a geopoint type of the new geofence.
         /// </summary>
-        /// <since_tizen> 3 </since_tizen>
+        /// <since_tizen> 4 </since_tizen>
         /// <param name="placeId">The current place ID.</param>
         /// <param name="latitude">Specifies the value of latitude of the geofence [-90.0 ~ 90.0] (degrees).</param>
         /// <param name="longitude">Specifies the value of longitude of the geofence [-180.0 ~ 180.0] (degrees).</param>
@@ -217,7 +217,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>
-        public static Fence CreateGPSFence(int placeId, int latitude, int longitude, int radius, string address)
+        public static Fence CreateGPSFence(int placeId, double latitude, double longitude, int radius, string address)
         {
             IntPtr handle = IntPtr.Zero;
             GeofenceError ret = (GeofenceError)Interop.Geofence.CreateGPSFence(placeId, latitude, longitude, radius,address, out handle);
@@ -285,7 +285,7 @@ namespace Tizen.Location.Geofence
             GC.SuppressFinalize(this);
         }
 
-        private void Dispose(bool disposing)
+        protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
                 return;
index c430ca1..fdd0071 100644 (file)
@@ -40,6 +40,7 @@ namespace Tizen.Location.Geofence
         /// Creates a new geofence status.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        /// <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>
         public FenceStatus(int fenceId)
@@ -109,7 +110,7 @@ namespace Tizen.Location.Geofence
             GC.SuppressFinalize(this);
         }
 
-        private void Dispose(bool disposing)
+        protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
                 return;
index 20750f7..315c6cb 100755 (executable)
@@ -281,7 +281,7 @@ namespace Tizen.Location.Geofence
             GC.SuppressFinalize(this);
         }
 
-        private void Dispose(bool disposing)
+        protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
                 return;