From 49fd04e919362a424007b87faac67172ad8bfbbc Mon Sep 17 00:00:00 2001 From: jomui Date: Tue, 10 Oct 2017 15:41:00 +0900 Subject: [PATCH] fix build warnings Signed-off-by: jomui Change-Id: Id1ca706599107e1b7bace96e69ee4870470649fe --- .../Tizen.Location.Geofence/Fence.cs | 7 +++++++ .../Tizen.Location.Geofence/FenceStatus.cs | 7 +++++++ .../Tizen.Location.Geofence/GeofenceManager.cs | 7 +++++++ .../Tizen.Location.Geofence/NamespaceDoc.cs | 11 ++++++++--- 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs b/src/Tizen.Location.Geofence/Tizen.Location.Geofence/Fence.cs index 5443cf230..50a7e5db9 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 fdd00711d..1f33a5556 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 315c6cb4a..b97acc8c3 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 7944fc4c0..5d4315a4a 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 {} -- 2.34.1