From: Editor Lionbridge Date: Fri, 11 Aug 2017 13:46:00 +0000 (+0530) Subject: Review feedback API cs files X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fcsapi%2Ffeedback.git Review feedback API cs files Change-Id: I218e19b74e4f2ceed46ff7bdb327dae828aa5a06 --- diff --git a/Tizen.System.Feedback/Feedback/Feedback.cs b/Tizen.System.Feedback/Feedback/Feedback.cs index 5bd1d0c..6eaad73 100644 --- a/Tizen.System.Feedback/Feedback/Feedback.cs +++ b/Tizen.System.Feedback/Feedback/Feedback.cs @@ -21,7 +21,7 @@ using System.Collections.Generic; namespace Tizen.System { /// - /// Class for constants + /// The class for constants. /// internal static class Constants { @@ -30,8 +30,8 @@ namespace Tizen.System /// /// The Feedback API provides functions to control haptic and sound. - /// The Feedback API provides the way to play and stop feedback and get the information whether specific pattern is supported. - /// Below is supported pattern string. + /// The Feedback API provides the way to play and stop feedback, and get the information whether a specific pattern is supported. + /// Below is the supported pattern string: /// Tap /// SoftInputPanel /// Key0 @@ -73,9 +73,9 @@ namespace Tizen.System /// VolumeKeyPressed /// /// - /// For controlling haptic device: + /// For controlling the haptic device: /// http://tizen.org/privilege/haptic - /// For controlling sound, previlege is not needed. + /// For controlling the sound, privilege is not needed. /// /// /// Feedback feedback = new Feedback(); @@ -198,23 +198,23 @@ namespace Tizen.System } /// - /// Get supported information about specific type and pattern + /// Gets the supported information about a specific type and pattern. /// /// /// Now, IsSupportedPattern is not working for FeedbackType.All. /// This API is working for FeedbackType.Sound and FeedbackType.Vibration only. /// If you use FeedbackType.All for type parameter, this API will throw ArgumentException. - /// To get supported information for Vibration type, app should have http://tizen.org/privilege/haptic privilege. + /// To get the supported information for Vibration type, the application should have http://tizen.org/privilege/haptic privilege. /// /// 3 - /// Feedback type - /// Feedback pattern string - /// Information whether pattern is supported - /// Thrown when failed because feedback is not initialized - /// Thrown when failed because of a invalid arguament - /// Thrown when failed becuase device(haptic, sound) is not supported - /// Thrown when failed because access is not granted(No privilege) - /// Thrown when failed because of system error + /// The feedback type. + /// The feedback pattern string. + /// Information whether a pattern is supported. + /// Thrown when failed because the feedback is not initialized. + /// Thrown when failed because of an invalid arguament. + /// Thrown when failed becuase the device (haptic, sound) is not supported. + /// Thrown when failed because the access is not granted (No privilege). + /// Thrown when failed because of a system error. /// http://tizen.org/privilege/haptic /// /// @@ -266,19 +266,19 @@ namespace Tizen.System } /// - /// Play specific feedback pattern + /// Plays a specific feedback pattern. /// /// /// To play Vibration type, app should have http://tizen.org/privilege/haptic privilege. /// /// 3 - /// Feedback type - /// Feedback pattern string - /// Thrown when failed because feedback is not initialized - /// Thrown when failed because of a invalid arguament - /// Thrown when failed because device(haptic, sound) or specific pattern is not supported - /// Thrown when failed because access is not granted(No privilege) - /// Thrown when failed because of system error + /// The feedback type. + /// The feedback pattern string. + /// Thrown when failed because feedback is not initialized. + /// Thrown when failed because of an invalid arguament. + /// Thrown when failed because the device (haptic, sound) or a specific pattern is not supported. + /// Thrown when failed because the access is not granted(No privilege) + /// Thrown when failed because of a system error. /// http://tizen.org/privilege/haptic /// /// @@ -330,17 +330,17 @@ namespace Tizen.System } /// - /// Stop to play feedback + /// Stops to play the feedback. /// /// - /// To stop vibration, app should have http://tizen.org/privilege/haptic privilege. + /// To stop vibration, the application should have http://tizen.org/privilege/haptic privilege. /// /// 3 - /// Thrown when failed because feedback is not initialized - /// Thrown when failed because of a invalid arguament - /// Thrown when failed because device(haptic, sound) or specific pattern is not supported - /// Thrown when failed because access is not granted(No privilege) - /// Thrown when failed because of system error + /// Thrown when failed because the feedback is not initialized. + /// Thrown when failed because of an invalid arguament + /// Thrown when failed because the device (haptic, sound) or a specific pattern is not supported. + /// Thrown when failed because the access is not granted (No privilege). + /// Thrown when failed because of a system error. /// http://tizen.org/privilege/haptic /// /// diff --git a/Tizen.System.Feedback/Feedback/FeedbackPattern.cs b/Tizen.System.Feedback/Feedback/FeedbackPattern.cs index 2ebc82f..3bb346f 100644 --- a/Tizen.System.Feedback/Feedback/FeedbackPattern.cs +++ b/Tizen.System.Feedback/Feedback/FeedbackPattern.cs @@ -17,7 +17,7 @@ namespace Tizen.System { /// - /// String and Enumeration for feedback patterns. + /// String and enumeration for feedback patterns. /// internal struct FeedbackPattern { diff --git a/Tizen.System.Feedback/Feedback/FeedbackType.cs b/Tizen.System.Feedback/Feedback/FeedbackType.cs index e387b1c..e94fd38 100644 --- a/Tizen.System.Feedback/Feedback/FeedbackType.cs +++ b/Tizen.System.Feedback/Feedback/FeedbackType.cs @@ -23,17 +23,17 @@ namespace Tizen.System public enum FeedbackType { /// - /// Sound and Vibration + /// Sound and vibration. /// /// 3 All = 0, /// - /// Sound feedback + /// Sound feedback. /// /// 3 Sound = Interop.Feedback.FeedbackType.Sound, /// - /// Vibration + /// Vibration feedback. /// /// /// 3 Vibration = Interop.Feedback.FeedbackType.Vibration,