[Feedback][Device][Add new vibration feature] (#319)
authorprjung <33618885+prjung@users.noreply.github.com>
Tue, 3 Jul 2018 06:56:25 +0000 (15:56 +0900)
committerhyotaekshim <35134695+hyotaekshim@users.noreply.github.com>
Tue, 3 Jul 2018 06:56:25 +0000 (06:56 +0000)
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/Tizen.System.Feedback/Feedback/Feedback.cs
src/Tizen.System/Device/Haptic.cs

index a9a3f25..20b38fa 100755 (executable)
@@ -94,7 +94,10 @@ namespace Tizen.System
         /// Constructor of Feedback class
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
-        /// <exception cref="NotSupportedException">Thrown when failed becuase the device (haptic, sound) is not supported.</exception>
+        /// <feature>
+        /// http://tizen.org/feature/feedback.vibration for FeedbackType.Vibration
+        /// </feature>
+        /// <exception cref="NotSupportedException">Thrown when failed because the devices (vibration and sound) are not supported.</exception>
         /// <exception cref="InvalidOperationException">Thrown when failed because of a system error.</exception>
         /// <privilege>http://tizen.org/privilege/haptic</privilege>
         /// <example>
@@ -228,6 +231,9 @@ namespace Tizen.System
         /// <since_tizen> 3 </since_tizen>
         /// <param name="type">The feedback type.</param>
         /// <param name="pattern">The feedback pattern string.</param>
+        /// <feature>
+        /// http://tizen.org/feature/feedback.vibration for FeedbackType.Vibration
+        /// </feature>
         /// <returns>Information whether a pattern is supported.</returns>
         /// <exception cref="Exception">Thrown when failed because the feedback is not initialized.</exception>
         /// <exception cref="ArgumentException">Thrown when failed because of an invalid arguament.</exception>
@@ -293,6 +299,9 @@ namespace Tizen.System
         /// <since_tizen> 3 </since_tizen>
         /// <param name="type">The feedback type.</param>
         /// <param name="pattern">The feedback pattern string.</param>
+        /// <feature>
+        /// http://tizen.org/feature/feedback.vibration for FeedbackType.Vibration
+        /// </feature>
         /// <exception cref="Exception">Thrown when failed because feedback is not initialized.</exception>
         /// <exception cref="ArgumentException">Thrown when failed because of an invalid arguament.</exception>
         /// <exception cref="NotSupportedException">Thrown when failed because the device (haptic, sound) or a specific pattern is not supported.</exception>
@@ -355,6 +364,9 @@ namespace Tizen.System
         /// To stop vibration, the application should have http://tizen.org/privilege/haptic privilege.
         /// </remarks>
         /// <since_tizen> 3 </since_tizen>
+        /// <feature>
+        /// http://tizen.org/feature/feedback.vibration
+        /// </feature>
         /// <exception cref="Exception">Thrown when failed because the feedback is not initialized.</exception>
         /// <exception cref="ArgumentException">Thrown when failed because of an invalid arguament</exception>
         /// <exception cref="NotSupportedException">Thrown when failed because the device (haptic, sound) or a specific pattern is not supported.</exception>
index 4bc49e3..22524df 100755 (executable)
@@ -29,6 +29,13 @@ namespace Tizen.System
     /// <privilege>
     /// http://tizen.org/privilege/haptic
     /// </privilege>
+    /// <feature>
+    /// http://tizen.org/feature/feedback.vibration
+    /// </feature>
+    /// <exception cref="ArgumentException"> When an invalid parameter value is set.</exception>
+    /// <exception cref="UnauthorizedAccessException">If the privilege is not set.</exception>
+    /// <exception cref="InvalidOperationException">In case of any system error.</exception>
+    /// <exception creg="NotSupportedException">The required feature is not supported</exception>
     /// <example>
     /// <code>
     ///     Console.WriteLine("Total number of Vibrators are: {0}", Tizen.System.Vibrator.NumberOfVibrators);
@@ -117,6 +124,9 @@ namespace Tizen.System
         /// <since_tizen> 3 </since_tizen>
         /// <param name="duration">The play duration in milliseconds.</param>
         /// <param name="feedback">The amount of the intensity variation (0 ~ 100).</param>
+        /// <feature>
+        /// http://tizen.org/feature/feedback.vibration
+        /// </feature>
         /// <exception cref="ArgumentException"> When an invalid parameter value is set.</exception>
         /// <exception cref="UnauthorizedAccessException">If the privilege is not set.</exception>
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>
@@ -158,6 +168,9 @@ namespace Tizen.System
         /// This function can be used to stop all the effects started by Vibrate().
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        /// <feature>
+        /// http://tizen.org/feature/feedback.vibration
+        /// </feature>
         /// <exception cref="ArgumentException"> In case an invalid vibrator instance is used.</exception>
         /// <exception cref="UnauthorizedAccessException">If the privilege is not set.</exception>
         /// <exception cref="InvalidOperationException">In case of any system error.</exception>