Tizen.Sensor: Update description of sensor class/methods
authorSangYoun Kwak <sy.kwak@samsung.com>
Wed, 25 Sep 2024 10:23:10 +0000 (19:23 +0900)
committerChanwoo Choi <chanwoo@kernel.org>
Fri, 27 Sep 2024 07:56:32 +0000 (16:56 +0900)
The description of the classes and methods of Tizen.Sensor are updated
for these tags: summary, remarks, see, seealso

Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
33 files changed:
src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/Accelerometer.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/ActivityDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/AutoRotationSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/FaceDownGestureDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/GravitySensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/Gyroscope.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/GyroscopeRotationVectorSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitorBatch.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitorLEDGreenBatch.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/HumiditySensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/InVehicleActivityDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/LightSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/LinearAccelerationSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/Magnetometer.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/MagnetometerRotationVectorSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/OrientationSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/Pedometer.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/PickUpGestureDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/PressureSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/ProximitySensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/RotationVectorSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/RunningActivityDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/SleepMonitor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/StationaryActivityDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/TemperatureSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/UltravioletSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/UncalibratedGyroscope.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/UncalibratedMagnetometer.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/WalkingActivityDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/WristUpGestureDetector.cs
src/Tizen.Sensor/Tizen.Sensor/Sensor.cs

index aafc00f15f069a82a30b7ff6087861b76f8dfbc7..a0a5260c963828a9206caad4d38893f085cc1e10 100644 (file)
@@ -20,8 +20,13 @@ using System.Collections.Generic;
 namespace Tizen.Sensor
 {
     /// <summary>
-    /// Abstract sensor for series of sensor data
+    /// Abstract class for sensor for series of sensor data.
+    /// Inherit the class 'Sensor' which is an abstract class.
     /// </summary>
+    /// <remarks>
+    /// A class which inherits this abstract class should provide TData as an
+    /// class that inherits BatchData class.
+    /// </remarks>
     /// <since_tizen> 8 </since_tizen>
     public abstract class BatchSensor<TData> : Sensor where TData : Tizen.Sensor.BatchData
     {
@@ -40,15 +45,23 @@ namespace Tizen.Sensor
         public IReadOnlyList<TData> Data { get; protected set; }
 
         /// <summary>
-        /// Convert general batch data to specific batch data
+        /// Convert general batch data to specific batch data type "TData".
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <returns> List of converted specific batch data </returns>
         protected abstract IReadOnlyList<TData> ConvertBatchData();
 
         /// <summary>
-        /// Update the internal batch data using the latest events
+        /// Update the internal batch data using the latest events.
+        /// Call updateBatchEvents() which inherited from the Sensor class to
+        /// update batch data list which is managed by the Sensor class.
+        /// Then convert the updated batch data to the specific type by using
+        /// the method "ConvertBatchData" and assign it to the Data property.
         /// </summary>
+        /// <remarks>
+        /// To use this method, you must override the ConvertBatchData method.
+        /// </remarks>
+        /// <seealso cref="Tizen.Sensor.Sensor">
         /// <param name="eventsPtr">
         /// General batch data's raw pointer
         /// </param>
index d60f83ce087bc7be89d0e9824ad6321f36b1a6cd..13b66a04eb79989e0307d54da1fc5ac32f25ac9b 100755 (executable)
@@ -26,28 +26,28 @@ namespace Tizen.Sensor
     {
         private static string AccelerometerKey = "http://tizen.org/feature/sensor.accelerometer";
         /// <summary>
-        /// Gets the X component of the acceleration.
+        /// Get the X component value of acceleration from the accelerometer sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the acceleration.
+        /// Get the Y component value of acceleration from the accelerometer sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the acceleration.
+        /// Get the Z component value of acceleration from the accelerometer sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether accelerometer sensor is supported by the device.
+        /// Return true or false based on whether accelerometer sensor is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -61,7 +61,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of accelerometer sensors available on the device.
+        /// Return the number of accelerometer sensors available by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of accelerometer sensors. </value>
index a7e297d84609d0d607176e690553742030201573..9de206fa2907e3630206acda25f324d72bbdce20 100755 (executable)
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         };
 
         /// <summary>
-        /// Gets the activity accuracy of the activity detector.
+        /// Get the activity accuracy of the activity detector sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The activity accuracy. </value>
index c1d567eb140da52d3ec695c79d4be278714ebf73..3e20b74a6d9e5f0cbc0cede2ce51c214ec11ae53 100644 (file)
@@ -30,22 +30,22 @@ namespace Tizen.Sensor
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
 
         /// <summary>
-        /// Gets the value of the rotation state.
+        /// Get the degree of the rotation state of the sensor as enum <see cref="AutoRotationState"/> type.
         /// </summary>
         /// <since_tizen> 7 </since_tizen>
-        /// <value> The rotation state. </value>
+        /// <value> The rotation state, <seealso cref="AutoRotationState"/>. </value>
         public AutoRotationState Rotation { get; private set; } = AutoRotationState.Degree_0;
 
 
         /// <summary>
-        /// Gets the accuracy of the auto-rotation data.
+        /// Get the accuracy of the auto-rotation data as enum <see cref="SensorDataAccuracy"/> type.
         /// </summary>
         /// <since_tizen> 7 </since_tizen>
-        /// <value> Accuracy </value>
+        /// <value> Accuracy, <seealso cref="SensorDataAccuracy"/> </value>
         public SensorDataAccuracy Accuracy { get; private set; } = SensorDataAccuracy.Undefined;
 
         /// <summary>
-        /// Returns true or false based on whether the auto-rotation sensor is supported by the device.
+        /// Return true or false based on whether the auto-rotation sensor is supported by the system.
         /// </summary>
         /// <since_tizen> 7 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -87,11 +87,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the auto-rotation sensor data.
         /// </summary>
         /// <since_tizen> 7 </since_tizen>
-
         public event EventHandler<AutoRotationSensorDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
-        /// An event handler for accuracy changed events.
+        /// An event handler for the event of accuracy change.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 7 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index 8cdf9406149be7a7869d6daea9ae67732a9f9a15..837ff2476e98207caec3ebe5c5c45d1c58937ab5 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string GestureDetectorKey = "http://tizen.org/feature/sensor.gesture_recognition";
 
         /// <summary>
-        /// Gets the state of the face down gesture.
+        /// Get the state of the face down gesture as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The face down state. </value>
+        /// <value> The face down state, <seealso cref="DetectorState"/>. </value>
         public DetectorState FaceDown { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the face down gesture detector is supported by the device.
+        /// Return true or false based on whether the face down gesture detector is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of face down gesture detectors available on the device.
+        /// Return the number of face down gesture detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of face down gesture detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.FaceDownGestureDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.FaceDownGestureDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.gesture_recognition</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular face down gesture detector in case of multiple sensors.
+        /// Index refers to a particular face down gesture detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public FaceDownGestureDetector(uint index = 0) : base(index)
         {
index f3e4f233b2d3a4ce38670247fb437a6f9a882226..8682aa92893112589760d3ea022f3fdf6b2541f7 100755 (executable)
@@ -27,29 +27,30 @@ namespace Tizen.Sensor
         private const string GravitySensorKey = "http://tizen.org/feature/sensor.gravity";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the X component of the gravity.
+        /// Get the X component value of the gravity sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the gravity.
+        /// Get the Y component value of the gravity sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the gravity.
+        /// Get the Z component value of the gravity sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the gravity sensor is supported by the device.
+        /// Return true or false based on whether the gravity sensor is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -63,7 +64,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of gravity sensors available on the device.
+        /// Return the number of gravity sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of gravity sensors. </value>
@@ -77,7 +78,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.GravitySensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.GravitySensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.gravity</feature>
@@ -85,7 +86,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular gravity sensor in case of multiple sensors.
+        /// Index refers to a particular gravity sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public GravitySensor (uint index = 0) : base(index)
         {
@@ -101,11 +103,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the gravity sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<GravitySensorDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
-        /// An event handler for accuracy changed events.
+        /// An event handler for the event of accuracy change.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index 4730feb9c86eef6e0c7a9a0614f8ca59ae40be7f..414d23e39b86ff1e156068814a2590119614b7b5 100755 (executable)
@@ -27,28 +27,28 @@ namespace Tizen.Sensor
         private const string GyroscopeKey = "http://tizen.org/feature/sensor.gyroscope";
 
         /// <summary>
-        /// Gets the X component of the acceleration.
+        /// Get the X component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the acceleration.
+        /// Get the Y component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the acceleration.
+        /// Get the Z component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the gyroscope sensor is supported by the device.
+        /// Return true or false based on whether the gyroscope sensor is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of the gyroscope sensors available on the device.
+        /// Return the number of the gyroscope sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of the gyroscope sensors. </value>
@@ -76,7 +76,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.Gyroscope"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.Gyroscope"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.gyroscope</feature>
@@ -84,7 +84,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular gyroscope sensor in case of multiple sensors.
+        /// Index refers to a particular gyroscope sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public Gyroscope(uint index = 0) : base(index)
         {
@@ -98,9 +99,10 @@ namespace Tizen.Sensor
 
         /// <summary>
         /// An event handler for storing the callback functions for the event corresponding to the change in the gyroscope sensor data.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<GyroscopeDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index 21738e26d17bc22cb945fa84e1af8f83d46dacf0..5b9e5b0cda2884886a543911f48b752c9b09b6ca 100755 (executable)
@@ -27,42 +27,42 @@ namespace Tizen.Sensor
         private const string GyroscopeRVKey = "http://tizen.org/feature/sensor.gyroscope_rotation_vector";
 
         /// <summary>
-        /// Gets the X component of the gyroscope rotation vector.
+        /// Get the X component of the gyroscope rotation vector.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the gyroscope rotation vector.
+        /// Get the Y component of the gyroscope rotation vector.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the gyroscope rotation vector.
+        /// Get the Z component of the gyroscope rotation vector.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the W component of the gyroscope rotation vector.
+        /// Get the W component of the gyroscope rotation vector.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> W </value>
         public float W { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the accuracy of the gyroscope rotation vector data.
+        /// Get the accuracy of the gyroscope rotation vector data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Accuracy </value>
         public SensorDataAccuracy Accuracy { get; private set; }
 
         /// <summary>
-        /// Returns true or false based on whether the gyroscope rotation vector sensor is supported by the device.
+        /// Return true or false based on whether the gyroscope rotation vector sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -76,7 +76,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of the gyroscope rotation vector sensors available on the device.
+        /// Return the number of the gyroscope rotation vector sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of accelerometer rotation vector sensors. </value>
@@ -90,7 +90,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.GyroscopeRotationVectorSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.GyroscopeRotationVectorSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.gyroscope_rotation_vector</feature>
@@ -98,7 +98,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular gyroscope rotation vector sensor in case of multiple sensors.
+        /// Index refers to a particular gyroscope rotation vector sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public GyroscopeRotationVectorSensor(uint index = 0) : base(index)
         {
@@ -114,7 +115,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the gyroscope rotation vector sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<GyroscopeRotationVectorSensorDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index b26ea9c99180bc44e0dd81492a4d1565a1dec79a..e312b77329681242171cdd92f94d48f3b7bd4697 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private const string HRMKey = "http://tizen.org/feature/sensor.heart_rate_monitor";
 
         /// <summary>
-        /// Gets the value of the heart rate monitor.
+        /// Get the value of the heart rate monitor as int type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The heart rate. </value>
         public int HeartRate { get; private set; } = int.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the heart rate monitor is supported by the device.
+        /// Return true or false based on whether the heart rate monitor is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of heart rate monitors available on the device.
+        /// Return the number of heart rate monitors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of heart rate monitors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.HeartRateMonitor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.HeartRateMonitor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/healthinfo</privilege>
@@ -73,7 +73,8 @@ namespace Tizen.Sensor
         /// <exception cref="UnauthorizedAccessException">Thrown when the application has no privilege to use the sensor.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular heart rate monitor in case of multiple sensors.
+        /// Index refers to a particular heart rate monitor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public HeartRateMonitor(uint index = 0) : base(index)
         {
index a0cb24a617cb7a60241f45153063d35e9ab1ff7f..76882b89ca7df41b79d2466ee5c4a8994d9975ab 100644 (file)
@@ -47,14 +47,14 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Gets the accuracy of the HeartRateMonitorBatch data.
+        /// Get the accuracy of the HeartRateMonitorBatch data as enum <see cref="SensorDataAccuracy"/> type.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
-        /// <value> Accuracy </value>
+        /// <value> Accuracy, <seealso cref="SensorDataAccuracy"/>. </value>
         public SensorDataAccuracy Accuracy { get; private set; } = SensorDataAccuracy.Undefined;
 
         /// <summary>
-        /// Returns true or false based on whether the HeartRateMonitorBatch sensor is supported by the device.
+        /// Return true or false based on whether the HeartRateMonitorBatch sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -68,7 +68,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of HeartRateMonitorBatch sensors available on the device.
+        /// Return the number of HeartRateMonitorBatch sensors available on the system.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <value> The count of HeartRateMonitorBatch sensors. </value>
@@ -83,7 +83,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.HeartRateMonitorBatch"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.HeartRateMonitorBatch"/> class.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <privilege>http://tizen.org/privilege/healthinfo</privilege>
@@ -94,7 +94,8 @@ namespace Tizen.Sensor
         /// <exception cref="UnauthorizedAccessException">Thrown when the application has no privilege to use the sensor.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular HeartRateMonitorBatch in case of multiple sensors.
+        /// Index refers to a particular HeartRateMonitorBatch in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public HeartRateMonitorBatch(uint index = 0) : base(index)
         {
@@ -110,11 +111,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the HeartRateMonitorBatch data.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
-
         public event EventHandler<HeartRateMonitorBatchDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index ad0e6d839ec9d31b06f8b339e929e7392bef39f3..fcf78e2f6bc16dffd645abfe683a7338632f2b73 100644 (file)
@@ -47,14 +47,14 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Gets the accuracy of the auto HeartRateMonitorLEDGreenBatch data.
+        /// Get the accuracy of the auto HeartRateMonitorLEDGreenBatch data as enum <see cref="SensorDataAccuracy"/> type.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
-        /// <value> Accuracy </value>
+        /// <value> Accuracy, <seealso cref="SensorDataAccuracy"/>. </value>
         public SensorDataAccuracy Accuracy { get; private set; } = SensorDataAccuracy.Undefined;
 
         /// <summary>
-        /// Returns true or false based on whether the HeartRateMonitorLEDGreenBatch sensor is supported by the device.
+        /// Return true or false based on whether the HeartRateMonitorLEDGreenBatch sensor is supported by the system.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -68,7 +68,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of HeartRateMonitorLEDGreenBatch sensors available on the device.
+        /// Return the number of HeartRateMonitorLEDGreenBatch sensors available on the system.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <value> The count of HeartRateMonitorLEDGreenBatch sensors. </value>
@@ -83,7 +83,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.HeartRateMonitorLEDGreenBatch"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.HeartRateMonitorLEDGreenBatch"/> class.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <privilege>http://tizen.org/privilege/healthinfo</privilege>
@@ -94,7 +94,8 @@ namespace Tizen.Sensor
         /// <exception cref="UnauthorizedAccessException">Thrown when the application has no privilege to use the sensor.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular HeartRateMonitorLEDGreenBatch sensor in case of multiple sensors.
+        /// Index refers to a particular HeartRateMonitorLEDGreenBatch sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public HeartRateMonitorLEDGreenBatch(uint index = 0) : base(index)
         {
@@ -110,11 +111,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the HeartRateMonitorLEDGreenBatch sensor data.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
-
         public event EventHandler<HeartRateMonitorLEDGreenBatchDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index b18c7bbc70370c64f8e5eea49b44c26cb813222f..aec54085ce3c267bfbf5de6e45ebd4cbcaec49a8 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private const string HumiditySensorKey = "http://tizen.org/feature/sensor.humidity";
 
         /// <summary>
-        /// Gets the value of the humidity sensor.
+        /// Get the value of the humidity sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Humidity </value>
         public float Humidity { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the humidity sensor is supported by the device.
+        /// Return true or false based on whether the humidity sensor is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of humidity sensors available on the device.
+        /// Return the number of humidity sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of humidity sensors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.HumiditySensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.HumiditySensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.humidity</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular humidity sensor in case of multiple sensors.
+        /// Index refers to a particular humidity sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public HumiditySensor(uint index = 0) : base(index)
         {
@@ -86,7 +87,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the humidity sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<HumiditySensorDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index 389c47d5e96e7f87a9b3f7bedf908e30516bb308..3cec328a81585137c37df036b4dbaa38cac7563d 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private const string ActivityDetectorKey = "http://tizen.org/feature/sensor.activity_recognition";
 
         /// <summary>
-        /// Gets the state of the in-vehicle activity detector.
+        /// Get the state of the in-vehicle activity detector as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The in-vehicle state. </value>
+        /// <value> The in-vehicle state, <seealso cref="DetectorState"/>. </value>
         public DetectorState InVehicle { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the in-vehicle activity detector is supported by the device.
+        /// Return true or false based on whether the in-vehicle activity detector is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of in-vehicle activity detectors available on the device.
+        /// Return the number of in-vehicle activity detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of in-vehicle activity detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.InVehicleActivityDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.InVehicleActivityDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular in-vehicle activity detector in case of multiple sensors.
+        /// Index refers to a particular in-vehicle activity detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public InVehicleActivityDetector(uint index = 0) : base(index)
         {
index 9a11d2adce96d8ac2b1a0231b0e7c7a81f2f45d5..5177176f3f96ddd3e195c3fe63c66791ea93172c 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private const string LightSensorKey = "http://tizen.org/feature/sensor.photometer";
 
         /// <summary>
-        /// Gets the level of the light.
+        /// Get the light level of light sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The light level. </value>
         public float Level { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the light sensor is supported by the device.
+        /// Return true or false based on whether the light sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of light sensors available on the device.
+        /// Return the number of light sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of light sensors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.LightSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.LightSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.photometer</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular light sensor in case of multiple sensors.
+        /// Index refers to a particular light sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public LightSensor(uint index = 0) : base(index)
         {
@@ -86,7 +87,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the light sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<LightSensorDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index 2a2d80cc0861bf1d41d859de483816ffb2688171..ec2f658fb7e3aa90913125db7f5e46da3dcb4723 100755 (executable)
@@ -27,29 +27,30 @@ namespace Tizen.Sensor
         private const string LinearAccelerationSensorKey = "http://tizen.org/feature/sensor.linear_acceleration";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the X component of the linear acceleration.
+        /// Get the X component value of the linear acceleration.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the linear acceleration.
+        /// Get the Y component value of the linear acceleration.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the linear acceleration.
+        /// Get the Z component value of the linear acceleration.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the linear acceleration sensor is supported by the device.
+        /// Return true or false based on whether the linear acceleration sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -63,7 +64,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of linear acceleration sensors available on the device.
+        /// Return the number of linear acceleration sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of linear acceleration sensors. </value>
@@ -77,7 +78,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.LinearAccelerationSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.LinearAccelerationSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.linear_acceleration</feature>
@@ -85,7 +86,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular linear acceleration sensor in case of multiple sensors.
+        /// Index refers to a particular linear acceleration sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public LinearAccelerationSensor(uint index = 0) : base(index)
         {
@@ -101,11 +103,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the linear acceleration sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<LinearAccelerationSensorDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index 0e47cec0203ac3592dde006c7c0dab52398e7949..e23c092826abf38105b9c68085e2bce5d5f53e0d 100755 (executable)
@@ -27,29 +27,30 @@ namespace Tizen.Sensor
         private static string MagnetometerKey = "http://tizen.org/feature/sensor.magnetometer";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the X component of the magnetometer.
+        /// Get the X component value of the magnetometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the magnetometer.
+        /// Get the Y component value of the magnetometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the magnetometer.
+        /// Get the Z component value of the magnetometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether magnetometer is supported by the device.
+        /// Return true or false based on whether magnetometer is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -63,7 +64,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of magnetometers available on the device.
+        /// Return the number of magnetometers available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of magnetometers. </value>
@@ -77,7 +78,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.Magnetometer"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.Magnetometer"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.magnetometer</feature>
@@ -85,7 +86,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular magnetometer in case of multiple sensors.
+        /// Index refers to a particular magnetometer in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public Magnetometer(uint index = 0) : base(index)
         {
@@ -101,11 +103,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the magnetometer data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<MagnetometerDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index 8813bd21feed8460001ef6cebd9d3ba9f8880754..3e9c70fec6544c5cecadd9d3a7a1358dfea09581 100755 (executable)
@@ -27,43 +27,44 @@ namespace Tizen.Sensor
         private static string MagnetometerRVKey = "http://tizen.org/feature/sensor.geomagnetic_rotation_vector";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the X component of the magnetometer rotation vector.
+        /// Get the X component value of the magnetometer rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the magnetometer rotation vector.
+        /// Get the Y component value of the magnetometer rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the magnetometer rotation vector.
+        /// Get the Z component value of the magnetometer rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the W component of the magnetometer rotation vector.
+        /// Get the W component value of the magnetometer rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> W </value>
         public float W { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the accuracy of the magnetometer rotation vector data.
+        /// Get the accuracy of the magnetometer rotation vector data as enum <see cref="SensorDataAccuracy"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> Accuracy </value>
+        /// <value> Accuracy, <seealso cref="SensorDataAccuracy"/>. </value>
         public SensorDataAccuracy Accuracy { get; private set; }
 
         /// <summary>
-        /// Returns true or false based on whether the magnetometer rotation vector sensor is supported by the device.
+        /// Return true or false based on whether the magnetometer rotation vector sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -77,7 +78,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of magnetometer rotation vector sensors available on the device.
+        /// Return the number of magnetometer rotation vector sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of magnetometer rotation vector sensors. </value>
@@ -91,7 +92,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.MagnetometerRotationVectorSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.MagnetometerRotationVectorSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.geomagnetic_rotation_vector</feature>
@@ -99,7 +100,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular magnetometer rotation vector sensor in case of multiple sensors.
+        /// Index refers to a particular magnetometer rotation vector sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public MagnetometerRotationVectorSensor(uint index = 0) : base(index)
         {
@@ -115,11 +117,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the magnetometer rotation vector sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<MagnetometerRotationVectorSensorDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index 0a221a05ac65d27fa865d6137ec4744eb07642b7..988e6ebc05f4388d963bc1992aa94992555cda39 100755 (executable)
@@ -27,29 +27,30 @@ namespace Tizen.Sensor
         private static string OrientationSensorKey = "http://tizen.org/feature/sensor.tiltmeter";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the azimuth component of the orientation.
+        /// Get the azimuth component value of the orientation as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Azimuth </value>
         public float Azimuth { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the pitch component of the orientation.
+        /// Get the pitch component value of the orientation as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Pitch </value>
         public float Pitch { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the roll component of the orientation.
+        /// Get the roll component value of the orientation as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Roll </value>
         public float Roll { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the orientation sensor is supported by the device.
+        /// Return true or false based on whether the orientation sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -63,7 +64,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of orientation sensors available on the device.
+        /// Return the number of orientation sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of orientation sensors. </value>
@@ -77,7 +78,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.OrientationSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.OrientationSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.tiltmeter</feature>
@@ -85,7 +86,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular orientation sensor in case of multiple sensors.
+        /// Index refers to a particular orientation sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public OrientationSensor(uint index = 0) : base(index)
         {
@@ -101,11 +103,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the orientation sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<OrientationSensorDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index a6e8190560799e5ff0e950e1ccf83c685ce16712..0cc2764ee467e9d636a24bc30d66870b8024d2db 100755 (executable)
@@ -27,63 +27,63 @@ namespace Tizen.Sensor
         private static string PedometerKey = "http://tizen.org/feature/sensor.pedometer";
 
         /// <summary>
-        /// Gets the step count.
+        /// Get the step count from pedometer as unsigned integer type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The step count. </value>
         public uint StepCount { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the walking step count.
+        /// Get the walking step count from pedometer as unsigned integer type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The walk step count. </value>
         public uint WalkStepCount { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the running step count.
+        /// Get the running step count from pedometer as unsigned integer type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The run step count. </value>
         public uint RunStepCount { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the moving distance.
+        /// Get the moving distance from pedometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The moving distance. </value>
         public float MovingDistance { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the calorie burned.
+        /// Get the calorie burned from pedometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The calorie burned. </value>
         public float CalorieBurned { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the last speed.
+        /// Get the last speed from pedometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The last speed. </value>
         public float LastSpeed { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the last stepping frequency.
+        /// Get the last stepping frequency from pedometer as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The last stepping frequency. </value>
         public float LastSteppingFrequency { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the last step status.
+        /// Get the last step status from pedometer as enum <see cref="PedometerState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The last step status. </value>
+        /// <value> The last step status, <seealso cref="PedometerState"/>. </value>
         public PedometerState LastStepStatus { get; private set; } = PedometerState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the pedometer sensor is supported by the device.
+        /// Return true or false based on whether the pedometer sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -97,7 +97,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of pedometer sensors available on the device.
+        /// Return the number of pedometer sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of pedometer sensors. </value>
@@ -111,7 +111,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.Pedometer"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.Pedometer"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/healthinfo</privilege>
@@ -122,7 +122,8 @@ namespace Tizen.Sensor
         /// <exception cref="UnauthorizedAccessException">Thrown when the application has no privilege to use the sensor.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular pedometer sensor in case of multiple sensors.
+        /// Index refers to a particular pedometer sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public Pedometer(uint index = 0) : base(index)
         {
@@ -138,7 +139,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the pedometer sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<PedometerDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index e6c9b736ff580d118264f1deb1dbd0305bae910b..20681dea02c5910e1978810cdedb5660ae9c299b 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string GestureDetectorKey = "http://tizen.org/feature/sensor.gesture_recognition";
 
         /// <summary>
-        /// Gets the state of the pick up gesture.
+        /// Get the state of the pick up gesture as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The pick up state. </value>
+        /// <value> The pick up state, <seealso cref="DetectorState"/>. </value>
         public DetectorState PickUp { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the pick up gesture detector is supported by the device.
+        /// Return true or false based on whether the pick up gesture detector is supported by the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of pick up gesture detectors available on the device.
+        /// Return the number of pick up gesture detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of pick up gesture detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.PickUpGestureDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.PickUpGestureDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.gesture_recognition</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular pick up gesture detector in case of multiple sensors.
+        /// Index refers to a particular pick up gesture detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public PickUpGestureDetector(uint index = 0) : base(index)
         {
index 80a1838c4e147422af3b37d0c10346d1e031b3ba..5c4f370364795ff11898d8fd5b56e3fc711ad675 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string PressureSensorKey = "http://tizen.org/feature/sensor.barometer";
 
         /// <summary>
-        /// Gets the value of the pressure sensor.
+        /// Get the pressure value from the pressure sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Pressure </value>
         public float Pressure { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the pressure sensor is supported by the device.
+        /// Return true or false based on whether the pressure sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of pressure sensors available on the device.
+        /// Return the number of pressure sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of pressure sensors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.PressureSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.PressureSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.barometer</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular pressure sensor in case of multiple sensors.
+        /// Index refers to a particular pressure sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public PressureSensor(uint index = 0) : base(index)
         {
@@ -86,7 +87,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the pressure sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<PressureSensorDataUpdatedEventArgs> DataUpdated;
 
 
index e1e4aa36a639a6dda3d767786ea474ac6fe87dd0..c428a9fe50029c27547f03a5ad29cb272c2dc261 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string ProximitySensorKey = "http://tizen.org/feature/sensor.proximity";
 
         /// <summary>
-        /// Gets the proximity state.
+        /// Get the proximity state as enum <see cref="ProximitySensorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The proximity state. </value>
+        /// <value> The proximity state, <seealso cref="ProximitySensorState"/>. </value>
         public ProximitySensorState Proximity { get; private set; } = ProximitySensorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the proximity sensor is supported by the device.
+        /// Return true or false based on whether the proximity sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of proximity sensors available on the device.
+        /// Return the number of proximity sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of proximity sensors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.ProximitySensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.ProximitySensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.proximity</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular proximity sensor in case of multiple sensors.
+        /// Index refers to a particular proximity sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public ProximitySensor(uint index = 0) : base(index)
         {
@@ -86,7 +87,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the proximity sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<ProximitySensorDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index 209cc33c6447b85066a6a9e83db81806f02b8696..5a08af0f48734da65c93d1bead1fb64aaa7ee539 100755 (executable)
@@ -27,43 +27,44 @@ namespace Tizen.Sensor
         private static string RotationVectorKey = "http://tizen.org/feature/sensor.rotation_vector";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the X component of the rotation vector.
+        /// Get the X component value of the rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the rotation vector.
+        /// Get the Y component value of the rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the rotation vector.
+        /// Get the Z component value of the rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the W component of the rotation vector.
+        /// Get the W component value of the rotation vector as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> W </value>
         public float W { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the accuracy of the rotation vector data.
+        /// Get the accuracy value of the rotation vector data as enum <see cref="SensorDataAccuracy"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> Accuracy </value>
+        /// <value> Accuracy, <seealso cref="SensorDataAccuracy"/>. </value>
         public SensorDataAccuracy Accuracy { get; private set; } = SensorDataAccuracy.Undefined;
 
         /// <summary>
-        /// Returns true or false based on whether the rotation vector sensor is supported by the device.
+        /// Return true or false based on whether the rotation vector sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -77,7 +78,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of rotation vector sensors available on the device.
+        /// Return the number of rotation vector sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of rotation vector sensors. </value>
@@ -91,7 +92,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.RotationVectorSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.RotationVectorSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.rotation_vector</feature>
@@ -99,7 +100,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular rotation vector sensor in case of multiple sensors.
+        /// Index refers to a particular rotation vector sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public RotationVectorSensor(uint index = 0) : base(index)
         {
@@ -115,11 +117,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the rotation vector sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<RotationVectorSensorDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index d42a2cb4b6fea507aa78c0b99bdf97663f6678c7..b87f0c66881791714a7abd92099252bb8139acec 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string ActivityDetectorKey = "http://tizen.org/feature/sensor.activity_recognition";
 
         /// <summary>
-        /// Gets the state of the running activity detector.
+        /// Get the state of the running activity detector as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The running state. </value>
+        /// <value> The running state, <seealso cref="DetectorState"/>. </value>
         public DetectorState Running { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the running activity detector is supported by the device.
+        /// Return true or false based on whether the running activity detector is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of running activity detectors available on the device.
+        /// Return the number of running activity detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of running activity detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.RunningActivityDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.RunningActivityDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular running activity detector in case of multiple sensors.
+        /// Index refers to a particular running activity detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public RunningActivityDetector(uint index = 0) : base(index)
         {
index bdeb27eb17c8601b7f99dbbbfedeab1eeeb46b39..2bab44945750c9ec347ca2cb9d96aeb9207c86c1 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string SleepMonitorKey = "http://tizen.org/feature/sensor.sleep_monitor";
 
         /// <summary>
-        /// Gets the value of the sleep state.
+        /// Get the value of the sleep state as enum <see cref="SleepMonitorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The sleep state. </value>
+        /// <value> The sleep state, <seealso cref="SleepMonitorState"/>. </value>
         public SleepMonitorState SleepState { get; private set; } = SleepMonitorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the sleep monitor is supported by the device.
+        /// Return true or false based on whether the sleep monitor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of sleep monitors available on the device.
+        /// Return the number of sleep monitors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of sleep monitors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.SleepMonitor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.SleepMonitor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <privilege>http://tizen.org/privilege/healthinfo</privilege>
@@ -73,7 +73,8 @@ namespace Tizen.Sensor
         /// <exception cref="UnauthorizedAccessException">Thrown when the application has no privilege to use the sensor.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular sleep monitor in case of multiple sensors.
+        /// Index refers to a particular sleep monitor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public SleepMonitor(uint index = 0) : base(index)
         {
@@ -89,7 +90,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the sleep monitor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<SleepMonitorDataUpdatedEventArgs> DataUpdated;
 
 
index d72306256b4299625edd3c660091362ec6457ec6..f85ab0b771e2d0cc7b40cf840e30d7ac394278bd 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string ActivityDetectorKey = "http://tizen.org/feature/sensor.activity_recognition";
 
         /// <summary>
-        /// Gets the state of the stationary activity detector.
+        /// Get the state of the stationary activity detector as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The stationary state. </value>
+        /// <value> The stationary state, <seealso cref="DetectorState"/>. </value>
         public DetectorState Stationary { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the stationary activity detector is supported by the device.
+        /// Return true or false based on whether the stationary activity detector is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of stationary activity detectors available on the device.
+        /// Return the number of stationary activity detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of stationary activity detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.StationaryActivityDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.StationaryActivityDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular stationary activity detector in case of multiple sensors.
+        /// Index refers to a particular stationary activity detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public StationaryActivityDetector(uint index = 0) : base(index)
         {
index d9a1df9511d3421dd9427a5abb943585497564df..efbf803569d409ed9ea8539487e42f6d7817c5fc 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string TemperatureSensorKey = "http://tizen.org/feature/sensor.temperature";
 
         /// <summary>
-        /// Gets the value of the temperature sensor.
+        /// Get the value of the temperature sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Temperature (Celsius) </value>
         public float Temperature { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the temperature sensor is supported by the device.
+        /// Return true or false based on whether the temperature sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of temperature sensors available on the device.
+        /// Return the number of temperature sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of temperature sensors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.TemperatureSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.TemperatureSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.temperature</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular temperature sensor in case of multiple sensors.
+        /// Index refers to a particular temperature sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public TemperatureSensor(uint index = 0) : base(index)
         {
@@ -86,7 +87,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the temperature sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<TemperatureSensorDataUpdatedEventArgs> DataUpdated;
 
 
index 53bfb10dbd471f4df9e4dbc62f2db03939d5d835..a027068b541e1a2fc42002e593e8f67cc6a5d9cf 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string UltravioletSensorKey = "http://tizen.org/feature/sensor.ultraviolet";
 
         /// <summary>
-        /// Gets the value of the ultraviolet sensor.
+        /// Get the value of the ultraviolet sensor as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The ultraviolet index. </value>
         public float UltravioletIndex { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Returns true or false based on whether the ultraviolet sensor is supported by the device.
+        /// Return true or false based on whether the ultraviolet sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of ultraviolet sensors available on the device.
+        /// Return the number of ultraviolet sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of ultraviolet sensors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.UltravioletSensor"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.UltravioletSensor"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.ultraviolet</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular ultraviolet sensor in case of multiple sensors.
+        /// Index refers to a particular ultraviolet sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public UltravioletSensor(uint index = 0) : base(index)
         {
@@ -86,7 +87,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the ultraviolet sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<UltravioletSensorDataUpdatedEventArgs> DataUpdated;
 
 
index 33c9b126470cf3c1ca48a7f9253a208b1b4f9e10..e5904bff5db83252874eba8195a9a6ccbeac0255 100755 (executable)
@@ -27,49 +27,49 @@ namespace Tizen.Sensor
         private static string UncalibratedGyroscopeKey = "http://tizen.org/feature/sensor.gyroscope.uncalibrated";
 
         /// <summary>
-        /// Gets the X component of the acceleration.
+        /// Get the X component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the acceleration.
+        /// Get the Y component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the acceleration.
+        /// Get the Z component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the BiasX component of the uncalibrated gyroscope data.
+        /// Get the BiasX component value of the uncalibrated gyroscope data as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The X bias. </value>
         public float BiasX { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the BiasY component of the uncalibrated gyroscope data.
+        /// Get the BiasY component value of the uncalibrated gyroscope data as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The Y bias. </value>
         public float BiasY { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the BiasZ component of the uncalibrated gyroscope data.
+        /// Get the BiasZ component value of the uncalibrated gyroscope data as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The Z bias. </value>
         public float BiasZ { get; private set; } = 0;
 
         /// <summary>
-        /// Returns true or false based on whether the uncalibrated gyroscope sensor is supported by the device.
+        /// Return true or false based on whether the uncalibrated gyroscope sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -83,7 +83,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of the uncalibrated gyroscope sensors available on the device.
+        /// Return the number of the uncalibrated gyroscope sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of the uncalibrated gyroscope sensors. </value>
@@ -97,7 +97,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.UncalibratedGyroscope"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.UncalibratedGyroscope"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.gyroscope.uncalibrated</feature>
@@ -105,7 +105,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular uncalibrated gyroscope sensor in case of multiple sensors.
+        /// Index refers to a particular uncalibrated gyroscope sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public UncalibratedGyroscope(uint index = 0) : base(index)
         {
@@ -121,7 +122,6 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the uncalibrated gyroscope sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<UncalibratedGyroscopeDataUpdatedEventArgs> DataUpdated;
 
         private static int GetCount()
index ee1927dcb5143aacbfb6df807fbffad9fdcde7a1..8feee4276925e99bb60cc8ab7c852d2047a92cbb 100755 (executable)
@@ -27,50 +27,51 @@ namespace Tizen.Sensor
         private static string UncalibratedMagnetometerKey = "http://tizen.org/feature/sensor.magnetometer.uncalibrated";
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
+
         /// <summary>
-        /// Gets the X component of the acceleration.
+        /// Get the X component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> X </value>
         public float X { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Y component of the acceleration.
+        /// Get the Y component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Y </value>
         public float Y { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the Z component of the acceleration.
+        /// Get the Z component value of the acceleration as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> Z </value>
         public float Z { get; private set; } = float.MinValue;
 
         /// <summary>
-        /// Gets the BiasX component of the uncalibrated magnetometer data.
+        /// Get the BiasX component value of the uncalibrated magnetometer data as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The X bias. </value>
         public float BiasX { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the BiasY component of the uncalibrated magnetometer data.
+        /// Get the BiasY component value of the uncalibrated magnetometer data as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The Y bias. </value>
         public float BiasY { get; private set; } = 0;
 
         /// <summary>
-        /// Gets the BiasZ component of the uncalibrated magnetometer data.
+        /// Get the BiasZ component value of the uncalibrated magnetometer data as float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The Z bias. </value>
         public float BiasZ { get; private set; } = 0;
 
         /// <summary>
-        /// Returns true or false based on whether the uncalibrated magnetometer sensor is supported by the device.
+        /// Return true or false based on whether the uncalibrated magnetometer sensor is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -84,7 +85,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of uncalibrated magnetometer sensors available on the device.
+        /// Return the number of uncalibrated magnetometer sensors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of uncalibrated magnetometer sensors. </value>
@@ -98,7 +99,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.UncalibratedMagnetometer"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.UncalibratedMagnetometer"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.magnetometer.uncalibrated</feature>
@@ -106,7 +107,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular uncalibrated magnetometer sensor in case of multiple sensors.
+        /// Index refers to a particular uncalibrated magnetometer sensor in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public UncalibratedMagnetometer(uint index = 0) : base(index)
         {
@@ -122,11 +124,12 @@ namespace Tizen.Sensor
         /// An event handler for storing the callback functions for the event corresponding to the change in the uncalibrated magnetometer sensor data.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-
         public event EventHandler<UncalibratedMagnetometerDataUpdatedEventArgs> DataUpdated;
 
         /// <summary>
         /// An event handler for accuracy changed events.
+        /// If an event is added, a new accuracy change callback is registered for this sensor.
+        /// If an event is removed, accuracy change callback is unregistered for this sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public event EventHandler<SensorAccuracyChangedEventArgs> AccuracyChanged
index a7ecb6188a67509dbf9ba1813fd897e37b0c7f5d..e969e544ed88c8eec7ba403e5f23b824a2f35925 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string ActivityDetectorKey = "http://tizen.org/feature/sensor.activity_recognition";
 
         /// <summary>
-        /// Gets the state of the walking activity detector.
+        /// Get the state of the walking activity detector as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The walking state. </value>
+        /// <value> The walking state, <seealso cref="DetectorState"/>. </value>
         public DetectorState Walking { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the walking activity detector is supported by the device.
+        /// Return true or false based on whether the walking activity detector is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of walking activity detectors available on the device.
+        /// Return the number of walking activity detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of walking activity detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.WalkingActivityDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.WalkingActivityDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.activity_recognition</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular walking activity detector in case of multiple sensors.
+        /// Index refers to a particular walking activity detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public WalkingActivityDetector(uint index = 0) : base(index)
         {
index 1e4966ff6c70c1c3e9a69db56d80dbf4a31d8105..bdbde3e0b87aa716819c9317a618a2f7fcf4262e 100755 (executable)
@@ -27,14 +27,14 @@ namespace Tizen.Sensor
         private static string WristUpKey = "http://tizen.org/feature/sensor.wrist_up";
 
         /// <summary>
-        /// Gets the state of the wrist up gesture.
+        /// Get the state of the wrist up gesture as enum <see cref="DetectorState"/> type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value> The wrist up state. </value>
+        /// <value> The wrist up state, <seealso cref="DetectorState"/>. </value>
         public DetectorState WristUp { get; private set; } = DetectorState.Unknown;
 
         /// <summary>
-        /// Returns true or false based on whether the wrist up gesture detector is supported by the device.
+        /// Return true or false based on whether the wrist up gesture detector is supported by the device.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value><c>true</c> if supported; otherwise <c>false</c>.</value>
@@ -48,7 +48,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Returns the number of wrist up gesture detectors available on the device.
+        /// Return the number of wrist up gesture detectors available on the system.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The count of wrist up gesture detectors. </value>
@@ -62,7 +62,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Initializes a new instance of the <see cref="Tizen.Sensor.WristUpGestureDetector"/> class.
+        /// Initialize a new instance of the <see cref="Tizen.Sensor.WristUpGestureDetector"/> class.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <feature>http://tizen.org/feature/sensor.wrist_up</feature>
@@ -70,7 +70,8 @@ namespace Tizen.Sensor
         /// <exception cref="NotSupportedException">Thrown when the sensor is not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when the operation is invalid for the current state.</exception>
         /// <param name='index'>
-        /// Index. Default value for this is 0. Index refers to a particular wrist up gesture detector in case of multiple sensors.
+        /// Index refers to a particular wrist up gesture detector in case of multiple sensors.
+        /// Default value is 0.
         /// </param>
         public WristUpGestureDetector(uint index = 0) : base(index)
         {
index 1812c7ccf539ec8a4bc733f3f6254ca9365266d1..602ef32bf3242aa33e356232473f496e00207999 100755 (executable)
@@ -52,13 +52,38 @@ namespace Tizen.Sensor
 
 
         /// <summary>
-        /// Read a sensor data synchronously.
+        /// Read sensor(which inherits this class) data synchronously.
         /// </summary>
         internal abstract void ReadData();
+
+        /// <summary>
+        /// Get the type of a sensor which inherits this class.
+        /// </summary>
         internal abstract SensorType GetSensorType();
+
+        /// <summary>
+        /// Start to listen the event of a sensor which inherits this class.
+        /// </summary>
         internal abstract void EventListenStart();
+
+        /// <summary>
+        /// Stop to listen the event of a sensor which inherits this class.
+        /// </summary>
         internal abstract void EventListenStop();
 
+        /// <summary>
+        /// Update the internal batch event list using the latest events.
+        /// </summary>
+        /// <remarks>
+        /// It will be called for updating events about the sensor like
+        /// BatchSensor or Plugin classes which inherits this class.
+        /// </remarks>
+        /// <param name="eventsPtr">
+        /// General batch data's raw pointer
+        /// </param>
+        /// <param name="events_count">
+        /// Number of general batch events
+        /// </param>
         internal void updateBatchEvents(IntPtr eventsPtr, uint events_count)
         {
             if (events_count >= 1)
@@ -73,6 +98,14 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Return the last element of Batched elements, which is the latest
+        /// sensor event.
+        /// </summary>
+        /// <remarks>
+        /// If there is no event, default(Interop.SensorEventStruct) will be
+        /// returned.
+        /// </remarks>
         internal Interop.SensorEventStruct latestEvent()
         {
             if (BatchedEvents.Count > 0)
@@ -82,6 +115,9 @@ namespace Tizen.Sensor
             return default(Interop.SensorEventStruct);
         }
 
+        /// <summary>
+        /// Create the Sensor object to listen to the sensor events.
+        /// </summary>
         internal Sensor(uint index)
         {
             SensorType type = GetSensorType();
@@ -94,7 +130,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Destroy the Sensor object.
+        /// Destroy the Sensor object and release all resources.
         /// </summary>
         ~Sensor()
         {
@@ -102,7 +138,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Property: Gets the name of the sensor.
+        /// Property: Gets the name of the sensor as a string.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The name of the sensor. </value>
@@ -116,7 +152,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Property: Gets the vendor.
+        /// Property: Gets the vendor of the sensor as a string.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The vendor name of the sensor. </value>
@@ -158,7 +194,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Property: Gets the resolution.
+        /// Property: Gets the resolution of the sensor as a float type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The resolution. </value>
@@ -172,7 +208,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Property: Gets the minimum interval.
+        /// Property: Gets the minimum interval of the sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The minimum update interval. </value>
@@ -186,7 +222,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Property: Gets the FIFO count.
+        /// Property: Gets the FIFO count of the sensor as int type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The size of the hardware FIFO. </value>
@@ -200,7 +236,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Property: Gets the maximum batch count.
+        /// Property: Gets the maximum batch count of the sensor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The maximum batch count. </value>
@@ -257,7 +293,8 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Sets the pause policy of the sensor.
+        /// Get the pause policy or set the pause policy of the sensor as the
+        /// set value.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>The pause policy.</value>
@@ -280,6 +317,9 @@ namespace Tizen.Sensor
 
         /// <summary>
         /// Gets or sets the time span.
+        /// Set value will be used as its 'Ticks' attribute.
+        /// Get will return the newly allocated TimeSpan object with the same
+        /// ticks as the sensor's timestamp.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value> The time span. </value>
@@ -298,7 +338,8 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Gets or sets the timestamp.
+        /// Gets or sets the timestamp of a sensor which inherits the sensor
+        /// class.
         /// </summary>
         /// <since_tizen> 8 </since_tizen>
         /// <value> Timestamp. </value>
@@ -317,10 +358,10 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Indicates whether this sensor is sensing.
+        /// Indicate whether the sensor is sensing or not sensing.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <value><c>true</c> if this sensor is sensing; otherwise <c>false</c>.</value>
+        /// <value><c>true</c> if the sensor is sensing; otherwise <c>false</c>.</value>
         public bool IsSensing
         {
             get
@@ -338,6 +379,12 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Check if the sensor type is supported or not by the system.
+        /// </summary>
+        /// <param name="type">The sensor type to check.</param>
+        /// <param name="key">The key for the sensor type to check.</param>
+        /// <returns>True if the sensor type is supported, otherwise false.</returns>
         internal static bool CheckIfSupported(SensorType type, String key)
         {
             bool isSupported = false;
@@ -414,7 +461,7 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Destroy the current object.
+        /// Destroy the current object and release all the resources.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         public void Dispose()
@@ -453,6 +500,13 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Gets the handle list of the sensors of a given type and index.
+        /// </summary>
+        /// <remarks>
+        /// A device may have more than one sensors of the given type.
+        /// In such case, the 'index'th sensor handle will be used.
+        /// </remarks>
         private void GetHandleList(SensorType type, uint index)
         {
             IntPtr list;
@@ -469,6 +523,10 @@ namespace Tizen.Sensor
             Interop.Libc.Free(list);
         }
 
+        /// <summary>
+        /// Get the following sensor properties of the sensor:
+        /// name, vendor, minimum range, maximum range, resolution, minimum interval, fifo count, maximum batch count
+        /// </summary>
         private void GetProperty()
         {
             int error = (int)SensorError.None;
@@ -530,6 +588,9 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Create a sensor listener and store a handle of the listener as an member variable.
+        /// </summary>
         private void CreateListener()
         {
             int error = Interop.SensorListener.CreateListener(_sensorHandle, out _listenerHandle);
@@ -540,6 +601,9 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Change the interval between updates for the sensor with the value stored in member variable.
+        /// </summary>
         private void SetInterval()
         {
             if (CheckListenerHandle())
@@ -556,6 +620,20 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Set the desired maximum batch latency of the sensor.
+        /// Sensors that support batching may allow applications to change their maximum batch latencies.
+        /// For example, if you set the latency as 10,000 ms, the sensor may store its data
+        /// up to 10,000 ms, before delivering the data through the HAL.
+        /// In case of non-batching sensors no error will be occured,
+        /// but nothing is affected by the input latency value.
+        /// </summary>
+        /// <remarks>
+        /// Even if you set a batch latency, the sensor may not work as you intended,
+        /// as one sensor can be used by more than one listeners.
+        /// In addition, some batch sensors may already have fixed batching latency
+        /// or batching queue size, which cannot be altered by applications.
+        /// </remarks>
         private void SetMaxBatchLatency()
         {
             if (CheckListenerHandle())
@@ -569,6 +647,14 @@ namespace Tizen.Sensor
             }
         }
 
+        /// <summary>
+        /// Check if listener handle for the sensor is valid or not.
+        /// </summary>
+        /// <remarks>
+        /// If listener handle is not valid, then it will throw ArgumentException.
+        /// </remarks>
+        /// <exception cref="ArgumentException">Thrown when the sensor listener handler is invalid.</exception>
+        /// <value><c>true</c> if listener handle is valid.</value>
         private bool CheckListenerHandle()
         {
             bool result = false;
@@ -584,6 +670,12 @@ namespace Tizen.Sensor
             return result;
         }
 
+        /// <summary>
+        /// Check if sensor handle for the sensor is valid or not.
+        /// If sensor handle is not valid, then it will throw ArgumentException.
+        /// </summary>
+        /// <exception cref="ArgumentException">Thrown when the sensor handler is invalid.</exception>
+        /// <value><c>true</c> if sensor handle is valid.</value>
         private bool CheckSensorHandle()
         {
             bool result = false;
@@ -599,6 +691,14 @@ namespace Tizen.Sensor
             return result;
         }
 
+        /// <summary>
+        /// Destroy resources of a listener handle of the sensor.
+        /// Release all resources allocated for a listener handle.
+        /// </summary>
+        /// <remarks>
+        /// If this function is called while the sensor is still running,
+        /// that is, then it is implicitly stopped.
+        /// </remarks>
         private void DestroyHandles()
         {
             Interop.SensorListener.DestroyListener(_listenerHandle);