From: Hyunho Kang Date: Tue, 18 Jun 2019 00:27:49 +0000 (+0900) Subject: [WidgetControl] Fix ambiguous sentences (#856) X-Git-Tag: submit/tizen/20190618.101741~1^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f788aed5cdbe9095f668a059ffb184effc0a285c;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [WidgetControl] Fix ambiguous sentences (#856) Signed-off-by: hyunho --- diff --git a/src/Tizen.Applications.WidgetControl/Tizen.Applications/WidgetControl.cs b/src/Tizen.Applications.WidgetControl/Tizen.Applications/WidgetControl.cs index 2aa26e119..220a4f81e 100644 --- a/src/Tizen.Applications.WidgetControl/Tizen.Applications/WidgetControl.cs +++ b/src/Tizen.Applications.WidgetControl/Tizen.Applications/WidgetControl.cs @@ -55,7 +55,7 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown in case of feature not supported. + /// Thrown when the required features are not supported. public Bundle GetContent() { IntPtr h; @@ -84,8 +84,8 @@ namespace Tizen.Applications /// http://tizen.org/feature/shell.appwidget /// Thrown when failed because of an invalid argument. /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public void ChangeContent(Bundle content, bool force) { Interop.WidgetService.ErrorCode err = Interop.WidgetService.UpdateContent(_widgetId, Id, content.SafeBundleHandle, force ? 1 : 0); @@ -120,8 +120,8 @@ namespace Tizen.Applications /// http://tizen.org/feature/shell.appwidget /// Thrown when failed because of an invalid argument. /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public void ChangePeriod(double period) { Interop.WidgetService.ErrorCode err = Interop.WidgetService.ChangePeriod(_widgetId, Id, period); @@ -274,8 +274,8 @@ namespace Tizen.Applications /// http://tizen.org/feature/shell.appwidget /// Thrown when failed because of an invalid argument. /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public static WidgetControl[] CreateAll(string pkgId) { List list = new List(); @@ -313,8 +313,8 @@ namespace Tizen.Applications /// http://tizen.org/feature/shell.appwidget /// Thrown when failed because of an invalid argument. /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public static string[] GetWidgetIds(string pkgId) { List list = new List(); @@ -348,8 +348,8 @@ namespace Tizen.Applications /// 6 /// http://tizen.org/privilege/widget.viewer /// http://tizen.org/feature/shell.appwidget - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public string MainAppId { get @@ -376,8 +376,8 @@ namespace Tizen.Applications /// 6 /// http://tizen.org/privilege/widget.viewer /// http://tizen.org/feature/shell.appwidget - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public string PackageId { get @@ -410,8 +410,8 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/privilege/widget.viewer /// http://tizen.org/feature/shell.appwidget - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public bool IsNoDisplay { get @@ -441,8 +441,8 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public event EventHandler Created { add @@ -463,8 +463,8 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public event EventHandler Resumed { add @@ -485,8 +485,8 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public event EventHandler Paused { add @@ -507,8 +507,8 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public event EventHandler Destroyed { add @@ -549,7 +549,7 @@ namespace Tizen.Applications /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. /// Thrown when the API is not supported in this device. - /// Thrown when an application does not have the privilege to access this method. + /// Thrown when an application does not have the required privileges to access this method. public IEnumerable GetInstances() { IList instances = new List(); @@ -581,8 +581,8 @@ namespace Tizen.Applications /// http://tizen.org/privilege/widget.viewer /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public IEnumerable GetScales() { IntPtr wPtr; @@ -671,8 +671,8 @@ namespace Tizen.Applications /// http://tizen.org/privilege/widget.viewer /// http://tizen.org/feature/shell.appwidget /// Thrown when the argument is null. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public string GetName(string lang) { if (lang == null) @@ -703,8 +703,8 @@ namespace Tizen.Applications /// http://tizen.org/privilege/widget.viewer /// http://tizen.org/feature/shell.appwidget /// Thrown when the argument is null. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public string GetIconPath(string lang) { if (lang == null) @@ -733,8 +733,8 @@ namespace Tizen.Applications /// 3 /// http://tizen.org/feature/shell.appwidget /// Thrown in case of failed conditions. - /// Thrown when an application does not have the privilege to access this method. - /// Thrown in case of feature not supported. + /// Thrown when an application does not have the required privileges to access this method. + /// Thrown when the required features are not supported. public void Dispose() { Dispose(true);