From: Editor Lionbridge Date: Wed, 26 Jul 2017 06:01:17 +0000 (+0530) Subject: Review Badge cs API files X-Git-Tag: submit/trunk/20170823.075128~119^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=242a6517e3f8b697c92badcaf9ec18069e78eb46;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Review Badge cs API files Change-Id: I8060f983f079ff4b99fc0926e63b69128a754ce7 --- diff --git a/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs b/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs index d5e6fff..89b317a 100755 --- a/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs +++ b/src/Tizen.Applications.Badge/Tizen.Applications/Badge.cs @@ -35,7 +35,7 @@ namespace Tizen.Applications /// /// Property for the count value of the badge. /// - /// 3 + /// 3 public int Count { get @@ -47,7 +47,7 @@ namespace Tizen.Applications /// /// Property for the application ID of the badge. /// - /// 3 + /// 3 public string AppId { get @@ -59,7 +59,7 @@ namespace Tizen.Applications /// /// Property for the flag of 'display'. /// - /// 3 + /// 3 public bool IsDisplay { get diff --git a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs index 4956efc..85e72a7 100755 --- a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs +++ b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeControl.cs @@ -19,7 +19,7 @@ namespace Tizen.Applications using System; using System.Collections.Generic; /// - /// Class for badge operation. + /// The class for badge operation. /// public static class BadgeControl { @@ -30,9 +30,9 @@ namespace Tizen.Applications /// /// Event handler for receiving badge events. /// - /// 3 - /// Thrown in case of failed conditions - /// Thrown when app does not have privilege to access + /// 3 + /// Thrown in case of failed conditions. + /// Thrown when an application does not have the privilege to access. /// http://tizen.org/privilege/notification public static event EventHandler Changed { @@ -74,13 +74,13 @@ namespace Tizen.Applications } /// - /// Gets the badge information from application ID. + /// Gets the badge information from the application ID. /// - /// 3 - /// Application ID - /// Thrown when failed because of invalid argument - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Application ID. + /// Thrown when failed because of an invalid argument. + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static Badge Find(string appId) { @@ -105,11 +105,11 @@ namespace Tizen.Applications /// /// Removes the badge information. /// - /// 3 - /// Application ID - /// Thrown when failed because of invalid argument - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Application ID. + /// Thrown when failed because of a an invalid argument. + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static void Remove(string appId) { @@ -123,13 +123,13 @@ namespace Tizen.Applications /// /// Adds the badge information. /// - /// 3 - /// Application ID - /// Count value - /// True if it should be displayed - /// Thrown when failed because of invalid argument - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Application ID. + /// Count value. + /// True if it should be displayed. + /// Thrown when failed because of an invalid argument. + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static void Add(string appId, int count = 1, bool isDisplay = true) { @@ -153,12 +153,12 @@ namespace Tizen.Applications /// /// Updates the badge information. /// - /// 3 - /// Application ID - /// Count value - /// Thrown when failed because of invalid argument - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Application ID. + /// Count value. + /// Thrown when failed because of an invalid argument. + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static void Update(string appId, int count) { @@ -172,12 +172,12 @@ namespace Tizen.Applications /// /// Updates the badge information. /// - /// 3 - /// Application ID - /// True if it should be displayed - /// Thrown when failed because of invalid argument - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Application ID. + /// True if it should be displayed. + /// Thrown when failed because of an invalid argument. + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static void Update(string appId, bool isDisplay) { @@ -191,13 +191,13 @@ namespace Tizen.Applications /// /// Updates the badge information. /// - /// 3 - /// Application ID - /// Count value - /// True if it should be displayed - /// Thrown when failed because of invalid argument - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Application ID. + /// Count value. + /// True if it should be displayed. + /// Thrown when failed because of invalid argument. + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static void Update(string appId, int count, bool isDisplay) { @@ -206,11 +206,11 @@ namespace Tizen.Applications } /// - /// Gets all badge information. + /// Gets all the badge information. /// - /// 3 - /// Thrown when app does not have privilege to access - /// Thrown in case of failed conditions + /// 3 + /// Thrown when an application does not have the privilege to access. + /// Thrown in case of failed conditions. /// http://tizen.org/privilege/notification public static IEnumerable GetBadges() { diff --git a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeErrorFactory.cs b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeErrorFactory.cs index 9443298..ff0d909 100755 --- a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeErrorFactory.cs +++ b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeErrorFactory.cs @@ -35,7 +35,7 @@ namespace Tizen.Applications } /// - /// Immutable class for getting information of the badge. + /// Immutable class for getting the badge information. /// internal static class BadgeErrorFactory { diff --git a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeEventArgs.cs b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeEventArgs.cs index 2977289..bfcc85f 100755 --- a/src/Tizen.Applications.Badge/Tizen.Applications/BadgeEventArgs.cs +++ b/src/Tizen.Applications.Badge/Tizen.Applications/BadgeEventArgs.cs @@ -19,7 +19,7 @@ namespace Tizen.Applications using System; /// - /// Class for event arguments of the badge event + /// The class for event arguments of the badge event. /// public class BadgeEventArgs : EventArgs { @@ -28,37 +28,37 @@ namespace Tizen.Applications } /// - /// Enumeration for badge action. + /// Enumeration for the badge action. /// - /// 3 + /// 3 public enum Action : int { /// - /// Badge was added. + /// The badge was added. /// Add = 0, /// - /// Badge was removed. + /// The badge was removed. /// Remove, /// - /// Badge was updated. + /// The badge was updated. /// Update, } /// - /// Property for Badge object. + /// The property for the badge object. /// - /// 3 + /// 3 public Badge Badge { get; internal set; } /// - /// Property for Action value. + /// The property for the action value. /// - /// 3 + /// 3 public Action Reason { get; internal set; } } }