From da4a38b6ae2844aa591e4a95cc3826c1a8e01944 Mon Sep 17 00:00:00 2001 From: jomui Date: Wed, 31 May 2017 10:11:35 +0900 Subject: [PATCH] [TCSACR-43] change GeoFence to Geofence Signed-off-by: jomui Change-Id: I29a7a72a7c1590467af5519a9339b43ff45e5274 --- Tizen.Location.Geofence/Interop/Interop.Location.cs | 2 +- Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs | 2 +- Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs | 4 ++-- Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs | 4 ++-- Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tizen.Location.Geofence/Interop/Interop.Location.cs b/Tizen.Location.Geofence/Interop/Interop.Location.cs index cb94777..89eed6a 100755 --- a/Tizen.Location.Geofence/Interop/Interop.Location.cs +++ b/Tizen.Location.Geofence/Interop/Interop.Location.cs @@ -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); diff --git a/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs b/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs index f7764ba..3afeed4 100755 --- a/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs +++ b/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs @@ -61,7 +61,7 @@ namespace Tizen.Location.Geofence /// /// Enumerations for geofence management events. /// - public enum GeoFenceEventType + public enum GeofenceEventType { /// /// Geofence is added. diff --git a/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs b/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs index 85d34ef..5ff6163 100755 --- a/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs +++ b/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs @@ -106,7 +106,7 @@ namespace Tizen.Location.Geofence /// The specified geofence id. /// The error code for the particular action. /// The result code for the particular place and geofence management. - 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 /// /// The result code for the particular place and geofence management. /// - public GeoFenceEventType EventType + public GeofenceEventType EventType { get; } diff --git a/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs b/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs index 1d333b6..48d7762 100755 --- a/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs +++ b/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs @@ -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. /// /// Incase of feature Not supported. - public event EventHandler GeoFenceEventChanged + public event EventHandler GeofenceEventChanged { add { diff --git a/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs b/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs index 2a91860..860d48c 100755 --- a/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs +++ b/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs @@ -236,7 +236,7 @@ namespace Tizen.Location.Geofence /// Incase of any System error. /// Incase of Privileges are not defined. /// Incase of Geofence is not supported. - public IEnumerable GetGeoFenceDataListByPlaceId(int placeId) + public IEnumerable GetGeofenceDataListByPlaceId(int placeId) { List fences = new List(); Interop.VirtualPerimeter.ForEachFenceListCallback callback = (int fenceId, IntPtr handle, int index, int count, IntPtr data) => -- 2.7.4