[Sensor] Review sensor API cs files
[platform/core/csapi/tizenfx.git] / src / Tizen.Sensor / Tizen.Sensor / Plugins / UltravioletSensor.cs
old mode 100644 (file)
new mode 100755 (executable)
index 21af905..491716a
@@ -19,8 +19,8 @@ using System;
 namespace Tizen.Sensor
 {
     /// <summary>
-    /// UltravioletSensor Class. Used for registering callbacks for ultraviolet sensor and getting ultraviolet data
-    /// /// </summary>
+    /// The UltravioletSensor class is used for registering callbacks for the ultraviolet sensor and getting the ultraviolet data.
+    /// </summary>
     public sealed class UltravioletSensor : Sensor
     {
         private static string UltravioletSensorKey = "http://tizen.org/feature/sensor.ultraviolet";
@@ -28,11 +28,15 @@ namespace Tizen.Sensor
         /// <summary>
         /// Gets the value of the ultraviolet sensor.
         /// </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 ultraviolet sensor is supported by device.
+        /// Returns 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>
         public static bool IsSupported
         {
             get
@@ -45,6 +49,8 @@ namespace Tizen.Sensor
         /// <summary>
         /// Returns the number of ultraviolet sensors available on the device.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <value> The count of ultraviolet sensors. </value>
         public static int Count
         {
             get
@@ -57,12 +63,13 @@ namespace Tizen.Sensor
         /// <summary>
         /// Initializes 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>
-        /// <exception cref="ArgumentException">Thrown when an invalid argument is used</exception>
-        /// <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>
+        /// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
+        /// <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. Default value for this is 0. Index refers to a particular ultraviolet sensor in case of multiple sensors.
         /// </param>
         public UltravioletSensor(uint index = 0) : base(index)
         {
@@ -75,8 +82,9 @@ namespace Tizen.Sensor
         }
 
         /// <summary>
-        /// Event Handler for storing the callback functions for event corresponding to change in ultraviolet sensor data.
+        /// 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;