From: Editor Lionbridge Date: Tue, 1 Aug 2017 15:01:20 +0000 (+0530) Subject: Review widget-viewer API cs files X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fcsapi%2Fwidget-viewer.git Review widget-viewer API cs files Change-Id: Idefa7e04b9f17b305e84b77fcfe2034cbd59bd69 --- diff --git a/Tizen.Applications.RemoteView/Tizen.Applications/RemoteView.cs b/Tizen.Applications.RemoteView/Tizen.Applications/RemoteView.cs index 44cad3b..f20e8bb 100755 --- a/Tizen.Applications.RemoteView/Tizen.Applications/RemoteView.cs +++ b/Tizen.Applications.RemoteView/Tizen.Applications/RemoteView.cs @@ -21,12 +21,12 @@ using System.Runtime.InteropServices; namespace Tizen.Applications { /// - /// Represents proxy class for widget application. + /// Represents the proxy class for the widget application. /// public class RemoteView { /// - /// Event types to send. + /// The event types to send. /// public enum Event { @@ -36,19 +36,19 @@ namespace Tizen.Applications FeedMouseUp, /// - /// Type for cancelling click event procedure. + /// Type for canceling the click event procedure. /// CancelClick } /// - /// Layout object including preview image, overlay text, loading text and remote screen image. + /// Layout object including preview image, overlay text, loading text, and remote screen image. /// /// http://tizen.org/privilege/widget.viewer public Layout Layout { get; internal set; } /// - /// Widget ID. + /// The widget ID. /// /// http://tizen.org/privilege/widget.viewer public string Id @@ -62,7 +62,7 @@ namespace Tizen.Applications } /// - /// Update period. + /// The update period. /// /// http://tizen.org/privilege/widget.viewer public double Period @@ -74,10 +74,10 @@ namespace Tizen.Applications } /// - /// Contents of widget. + /// Contents of the widget. /// /// - /// This string can be used for creating contents of widget again after rebooting a device or it can be recovered from crash(abnormal status). + /// This string can be used for creating contents of the widget again after rebooting a device or it can be recovered from a crash (abnormal status). /// /// http://tizen.org/privilege/widget.viewer public string Content @@ -133,24 +133,24 @@ namespace Tizen.Applications } /// - /// Pauses all connected widget applications. + /// Pauses all the connected widget applications. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public static void PauseAll() { CheckException(Interop.WidgetViewerEvas.NotifyPausedStatusOfViewer()); } /// - /// Resumes all connected widget applications. + /// Resumes all the connected widget applications. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device<./exception> public static void ResumeAll() { CheckException(Interop.WidgetViewerEvas.NotifyResumedStatusOfViewer()); @@ -160,9 +160,9 @@ namespace Tizen.Applications /// Pauses the widget application which is connected on this proxy. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public void Pause() { CheckException(Interop.WidgetViewerEvas.PauseWidget(Layout)); @@ -172,20 +172,20 @@ namespace Tizen.Applications /// Resumes the widget application which is connected on this proxy. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public void Resume() { CheckException(Interop.WidgetViewerEvas.ResumeWidget(Layout)); } /// - /// Sends event to the widget application which is connected on this proxy. + /// Sends the event to the widget application which is connected on this proxy. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public void SendEvent(Event ev) { switch (ev) diff --git a/Tizen.Applications.RemoteView/Tizen.Applications/RemoteViewFactory.cs b/Tizen.Applications.RemoteView/Tizen.Applications/RemoteViewFactory.cs index 989c797..0820a5e 100755 --- a/Tizen.Applications.RemoteView/Tizen.Applications/RemoteViewFactory.cs +++ b/Tizen.Applications.RemoteView/Tizen.Applications/RemoteViewFactory.cs @@ -20,7 +20,7 @@ using System; namespace Tizen.Applications { /// - /// Represents a factory class for making RemoveView objects. + /// Represents a factory class for making the RemoteView objects. /// public static class RemoteViewFactory { @@ -33,9 +33,9 @@ namespace Tizen.Applications /// All the remote views will be located in the specified window object. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public static void Init(EvasObject win) { if (_ready) @@ -45,20 +45,20 @@ namespace Tizen.Applications } /// - /// Creates RemoteView object. + /// Creates a RemoteView object. /// - /// Parent object - /// Widget ID - /// Contents that will be given to the widget instance - /// Update period - /// True if you want to show preview image - /// True if you want to show overlay text - /// True if you want to show loading message + /// Parent object. + /// Widget ID. + /// Contents that will be given to the widget instance. + /// Update period. + /// True if you want to show the preview image. + /// True if you want to show the overlay text. + /// True if you want to show the loading message. /// RemoteView object. /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public static RemoteView Create(EvasObject parent, string widgetId, string content, double period, bool previewImage = true, bool overlayText = true, bool loadingMessage = true) { @@ -83,12 +83,12 @@ namespace Tizen.Applications } /// - /// Finalizes RemoteViewFactory. + /// Finalizes the RemoteViewFactory. /// /// http://tizen.org/privilege/widget.viewer - /// Thrown when this operation failed - /// Thrown when this operation was denied - /// Thrown when this operation is not supported for this device + /// Thrown when this operation failed. + /// Thrown when this operation is denied. + /// Thrown when this operation is not supported for this device. public static void Shutdown() { if (!_ready)