From: Yunhee Seo Date: Thu, 10 Oct 2024 07:37:16 +0000 (+0900) Subject: [Tizen.System.Feedback] Enhance API description X-Git-Tag: submit/tizen/20241010.110118~1^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54b7ef38d3427a63aad4b8262af023dc10619a12;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen.System.Feedback] Enhance API description Add more detailed APIs description. Signed-off-by: Yunhee Seo --- diff --git a/src/Tizen.System.Feedback/Feedback/Feedback.cs b/src/Tizen.System.Feedback/Feedback/Feedback.cs index 6365ea0c8..9b17ffda1 100755 --- a/src/Tizen.System.Feedback/Feedback/Feedback.cs +++ b/src/Tizen.System.Feedback/Feedback/Feedback.cs @@ -413,6 +413,7 @@ namespace Tizen.System /// bool res = feedback.IsSupportedPattern(FeedbackType.Vibration, "Tap"); /// /// + /// public bool IsSupportedPattern(FeedbackType type, String pattern) { bool supported = false; @@ -446,7 +447,7 @@ namespace Tizen.System } /// - /// Plays a specific feedback pattern. + /// Plays specific type of reactions that are pre-defined feedback pattern. /// /// /// To play Vibration type, app should have http://tizen.org/privilege/haptic privilege. @@ -469,6 +470,8 @@ namespace Tizen.System /// feedback.Play(FeedbackType.All, "Tap"); /// /// + /// + /// public void Play(FeedbackType type, String pattern) { int number; @@ -503,7 +506,7 @@ namespace Tizen.System } /// - /// Stops to play the feedback. + /// Stops various types of reactions from the feedback module. /// /// /// To stop vibration, the application should have http://tizen.org/privilege/haptic privilege. @@ -524,6 +527,7 @@ namespace Tizen.System /// Feedback1.Stop(); /// /// + /// public void Stop() { Interop.Feedback.FeedbackError res = (Interop.Feedback.FeedbackError)Interop.Feedback.Stop(); @@ -549,7 +553,7 @@ namespace Tizen.System } /// - /// Gets the count of theme can be used according to feedback type. + /// Gets the number of themes supported as described in the configuration. /// /// /// Now this internal API works for FeedbackType.Sound only, FeedbackType.Vibration is not supported. @@ -568,6 +572,7 @@ namespace Tizen.System /// uint coundOfTheme = feedback.GetCountOfThemeInternal(FeedbackType.Sound); /// /// + /// [EditorBrowsable(EditorBrowsableState.Never)] public uint GetCountOfThemeInternal(FeedbackType type) { @@ -596,7 +601,7 @@ namespace Tizen.System } /// - /// Gets the id of theme selected. + /// Gets the current id of the theme selected from available themes described in the conf file. /// /// /// Now this internal API works for FeedbackType.Sound only, FeedbackType.Vibration is not supported. @@ -614,6 +619,7 @@ namespace Tizen.System /// uint idOfTheme = feedback.GetThemeIdInternal(FeedbackType.Sound); /// /// + /// [EditorBrowsable(EditorBrowsableState.Never)] public uint GetThemeIdInternal(FeedbackType type) { @@ -640,7 +646,7 @@ namespace Tizen.System } /// - /// Sets the id of theme according to feedback type. + /// Sets the current id of the theme from available themes described in the conf file. /// /// /// Now this internal API works for FeedbackType.Sound only, FeedbackType.Vibration is not supported. @@ -661,6 +667,7 @@ namespace Tizen.System /// feedback.SetThemeIdInternal(FeedbackType.Sound, idOfTheme); /// /// + /// [EditorBrowsable(EditorBrowsableState.Never)] public void SetThemeIdInternal(FeedbackType type, uint idOfTheme) { @@ -687,7 +694,7 @@ namespace Tizen.System } /// - /// Stops the current feedback playing by feedback type + /// Stops reactions of various types according to the feedback type. /// /// /// To stop vibration, the application should have http://tizen.org/privilege/haptic privilege. @@ -706,6 +713,7 @@ namespace Tizen.System /// feedback.StopTypeInternal(FeedbackType.Vibration); /// /// + /// [EditorBrowsable(EditorBrowsableState.Never)] public void StopTypeInternal(FeedbackType type) { @@ -734,11 +742,12 @@ namespace Tizen.System } /// - /// Gets the id array of theme supported. + /// Gets the array of theme ids supported described in the conf file. /// /// /// Now this internal API works for FeedbackType.Sound only, FeedbackType.Vibration is not supported. /// The theme id is positive value as defined in the conf file. + /// Gets all theme ids as defined in the conf file. /// /// 10 /// The feedback type. @@ -752,6 +761,7 @@ namespace Tizen.System /// uint[] getThemeIds = feedback.GetThemeIdsInternal(FeedbackType.Sound); /// /// + /// [EditorBrowsable(EditorBrowsableState.Never)] public uint[] GetThemeIdsInternal(FeedbackType type) {