[Sensor] Remove document warning. (#2080)
authorMuHong Byun <mh.byun@samsung.com>
Wed, 7 Oct 2020 09:30:51 +0000 (18:30 +0900)
committerGitHub <noreply@github.com>
Wed, 7 Oct 2020 09:30:51 +0000 (18:30 +0900)
* Add comment to BatchSensor

Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
src/Tizen.Sensor/Tizen.Sensor/BatchSensor.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitorBatch.cs
src/Tizen.Sensor/Tizen.Sensor/Plugins/HeartRateMonitorLEDGreenBatch.cs

index cb270927a75648185757bd0efcc024ffca8efa18..aafc00f15f069a82a30b7ff6087861b76f8dfbc7 100644 (file)
@@ -19,11 +19,24 @@ using System.Collections.Generic;
 
 namespace Tizen.Sensor
 {
+    /// <summary>
+    /// Abstract sensor for series of sensor data
+    /// </summary>
+    /// <since_tizen> 8 </since_tizen>
     public abstract class BatchSensor<TData> : Sensor where TData : Tizen.Sensor.BatchData
     {
+        /// <summary>
+        /// Create BatchSensor
+        /// </summary>
+        /// <since_tizen> 8 </since_tizen>
         public BatchSensor(uint index = 0) : base(index) {
             UpdateBatchData((IntPtr)null, 0);
         }
+
+        /// <summary>
+        /// Get general batch data
+        /// </summary>
+        /// <since_tizen> 8 </since_tizen>
         public IReadOnlyList<TData> Data { get; protected set; }
 
         /// <summary>
index cc12971eaa6a13a51e7c791b693fdef2cd86a1da..a0cb24a617cb7a60241f45153063d35e9ab1ff7f 100644 (file)
@@ -30,6 +30,10 @@ namespace Tizen.Sensor
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
 
+        /// <summary>
+        /// List of converted HeartRateMonitorBatchData.
+        /// </summary>
+        /// <since_tizen> 8 </since_tizen>
         protected override IReadOnlyList<HeartRateMonitorBatchData> ConvertBatchData()
         {
             List<HeartRateMonitorBatchData> list = new List<HeartRateMonitorBatchData>();
index bab0c52fd7f494606f8fb76a8444c16857bb8444..ad0e6d839ec9d31b06f8b339e929e7392bef39f3 100644 (file)
@@ -30,6 +30,10 @@ namespace Tizen.Sensor
 
         private event EventHandler<SensorAccuracyChangedEventArgs> _accuracyChanged;
 
+        /// <summary>
+        /// List of converted HeartRateMonitorLEDGreenBatchData.
+        /// </summary>
+        /// <since_tizen> 8 </since_tizen>
         protected override IReadOnlyList<HeartRateMonitorLEDGreenBatchData> ConvertBatchData()
         {
             List<HeartRateMonitorLEDGreenBatchData> list = new List<HeartRateMonitorLEDGreenBatchData>();