From: jomui Date: Wed, 31 May 2017 01:11:35 +0000 (+0900) Subject: [TCSACR-43] change GeoFence to Geofence X-Git-Tag: submit/trunk/20170823.075128~107^2~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=278163b82e510b697987bd024fac575a3eaeaa46;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [TCSACR-43] change GeoFence to Geofence Signed-off-by: jomui Change-Id: I29a7a72a7c1590467af5519a9339b43ff45e5274 --- diff --git a/src/Tizen.Location.Geofence/Interop/Interop.Location.cs b/src/Tizen.Location.Geofence/Interop/Interop.Location.cs index cb94777..89eed6a 100755 --- a/src/Tizen.Location.Geofence/Interop/Interop.Location.cs +++ b/src/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/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs index f7764ba..3afeed4 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEnum.cs +++ b/src/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/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs index 85d34ef..5ff6163 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceEventArgs.cs +++ b/src/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/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs index 1d333b6..48d7762 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs +++ b/src/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/src/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs index 2a91860..860d48c 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/VirtualPerimeter.cs +++ b/src/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) =>