[TCSACR-43] change GeoFence to Geofence 16/131816/2
authorjomui <jongmun.woo@samsung.com>
Wed, 31 May 2017 01:11:35 +0000 (10:11 +0900)
committerjomui <jongmun.woo@samsung.com>
Wed, 31 May 2017 01:43:41 +0000 (10:43 +0900)
Signed-off-by: jomui <jongmun.woo@samsung.com>
Change-Id: I29a7a72a7c1590467af5519a9339b43ff45e5274

Tizen.Location.Geofence/Interop/Interop.Location.cs
Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs
Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs
Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs
Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs

index cb94777..89eed6a 100755 (executable)
@@ -83,7 +83,7 @@ internal static partial class Interop
         internal delegate bool ProximityStateChangedCallback(int fenceId, ProximityState state, ProximityProvider provider, IntPtr userData);
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
-        internal delegate bool GeofenceEventCallback(int placeId, int fenceId, GeofenceError error, GeoFenceEventType eventType, IntPtr userData);
+        internal delegate bool GeofenceEventCallback(int placeId, int fenceId, GeofenceError error, GeofenceEventType eventType, IntPtr userData);
 
         [DllImport(Libraries.Geofence, EntryPoint = "geofence_manager_is_supported")]
         internal static extern int IsSupported(out bool supported);
index f7764ba..3afeed4 100755 (executable)
@@ -61,7 +61,7 @@ namespace Tizen.Location.Geofence
     /// <summary>
     /// Enumerations for geofence management events.
     /// </summary>
-    public enum GeoFenceEventType
+    public enum GeofenceEventType
     {
         /// <summary>
         /// Geofence is added.
index 85d34ef..5ff6163 100755 (executable)
@@ -106,7 +106,7 @@ namespace Tizen.Location.Geofence
         /// <param name="fenceId">The specified geofence id.</param>
         /// <param name="error">The error code for the particular action.</param>
         /// <param name="eventType">The result code for the particular place and geofence management.</param>
-        internal GeofenceResponseEventArgs(int placeId, int fenceId, GeofenceError error, GeoFenceEventType eventType)
+        internal GeofenceResponseEventArgs(int placeId, int fenceId, GeofenceError error, GeofenceEventType eventType)
         {
             PlaceId = placeId;
             FenceId = fenceId;
@@ -141,7 +141,7 @@ namespace Tizen.Location.Geofence
         /// <summary>
         /// The result code for the particular place and geofence management.
         /// </summary>
-        public GeoFenceEventType EventType
+        public GeofenceEventType EventType
         {
             get;
         }
index 1d333b6..48d7762 100755 (executable)
@@ -217,7 +217,7 @@ namespace Tizen.Location.Geofence
             }
         }
 
-        private static readonly Interop.GeofenceManager.GeofenceEventCallback s_geofenceEventCallback = (int placeId, int fenceId, GeofenceError error, GeoFenceEventType eventType, IntPtr data) =>
+        private static readonly Interop.GeofenceManager.GeofenceEventCallback s_geofenceEventCallback = (int placeId, int fenceId, GeofenceError error, GeofenceEventType eventType, IntPtr data) =>
         {
             GeofenceResponseEventArgs evenArgs = new GeofenceResponseEventArgs(placeId, fenceId, error, eventType);
             s_geofenceEventChanged?.Invoke(null, evenArgs);
@@ -235,7 +235,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">Incase of feature Not supported.</exception>
-        public event EventHandler<GeofenceResponseEventArgs> GeoFenceEventChanged
+        public event EventHandler<GeofenceResponseEventArgs> GeofenceEventChanged
         {
             add
             {
index 2a91860..860d48c 100755 (executable)
@@ -236,7 +236,7 @@ namespace Tizen.Location.Geofence
         /// <exception cref="InvalidOperationException">Incase of any System error.</exception>
         /// <exception cref="UnauthorizedAccessException">Incase of Privileges are not defined.</exception>
         /// <exception cref="NotSupportedException">Incase of Geofence is not supported.</exception>
-        public IEnumerable<FenceData> GetGeoFenceDataListByPlaceId(int placeId)
+        public IEnumerable<FenceData> GetGeofenceDataListByPlaceId(int placeId)
         {
             List<FenceData> fences = new List<FenceData>();
             Interop.VirtualPerimeter.ForEachFenceListCallback callback = (int fenceId, IntPtr handle, int index, int count, IntPtr data) =>