From: jomui Date: Tue, 10 Oct 2017 06:41:00 +0000 (+0900) Subject: fix build warnings X-Git-Tag: preview1-00278^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F154374%2F1;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git fix build warnings Signed-off-by: jomui Change-Id: Id1ca706599107e1b7bace96e69ee4870470649fe --- diff --git a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs index 5443cf2..50a7e5d 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs +++ b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs @@ -46,6 +46,10 @@ namespace Tizen.Location.Geofence Handle = handle; } + /// + /// The destructor of the Fence class. + /// + /// 3 ~Fence() { Dispose(false); @@ -285,6 +289,9 @@ namespace Tizen.Location.Geofence GC.SuppressFinalize(this); } + /// + /// Dispose. + /// protected virtual void Dispose(bool disposing) { if (_disposed) diff --git a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceStatus.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceStatus.cs index fdd0071..1f33a55 100644 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceStatus.cs +++ b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/FenceStatus.cs @@ -55,6 +55,10 @@ namespace Tizen.Location.Geofence Handle = handle; } + /// + /// The destructor of the FenceStatus class. + /// + /// 3 ~FenceStatus() { Dispose(false); @@ -110,6 +114,9 @@ namespace Tizen.Location.Geofence GC.SuppressFinalize(this); } + /// + /// Dispose. + /// protected virtual void Dispose(bool disposing) { if (_disposed) diff --git a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs index 315c6cb..b97acc8 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs +++ b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/GeofenceManager.cs @@ -65,6 +65,10 @@ namespace Tizen.Location.Geofence Handle = handle; } + /// + /// The destructor of the GeofenceManager class. + /// + /// 3 ~GeofenceManager() { Dispose(false); @@ -281,6 +285,9 @@ namespace Tizen.Location.Geofence GC.SuppressFinalize(this); } + /// + /// Dispose. + /// protected virtual void Dispose(bool disposing) { if (_disposed) diff --git a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/NamespaceDoc.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/NamespaceDoc.cs index 7944fc4..5d4315a 100755 --- a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/NamespaceDoc.cs +++ b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/NamespaceDoc.cs @@ -4,17 +4,21 @@ The Tizen.Location.Geofence namespace provides classes for virtual perimeter. +

Overview

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.

+Also, notifications on events like changing in service status are provided.

+ There are two kinds of places and fences:
- Public places and fences that are created by the MyPlace application can be used by all applications.
-- Private places and fences that are created by the specified application can be used by the same application.

+- Private places and fences that are created by the specified application can be used by the same application.

+ Notifications can be received about the following events:
- Zone in when a device enters a specific area.
- Zone out when a device exits a specific area.
-- Results and errors for each event requested to geofence module.

+- Results and errors for each event requested to geofence module.

+ The Geofence manager has the following properties:
- The geofence type.
- The status.
@@ -28,6 +32,7 @@ http://tizen.org/feature/location
http://tizen.org/feature/location.Geofence
http://tizen.org/feature/location.wps + */ namespace Tizen.Location.Geofence {}