removed build warning messages from CS1570 43/153243/2 preview1-00263
authorIckhee Woo <ickhee.woo@samsung.com>
Thu, 28 Sep 2017 06:32:52 +0000 (15:32 +0900)
committerYounho Park <younho.park@samsung.com>
Thu, 28 Sep 2017 06:37:00 +0000 (06:37 +0000)
Change-Id: Ib95ea23ff373240d044f8d9bde2929bdd85b955a
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushClient.cs [changed mode: 0644->0755]
src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushConnectionStateEventArgs.cs
src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushImpl.cs
src/Tizen.Messaging.Push/Tizen.Messaging.Push/PushMessageEventArgs.cs
src/Tizen.Messaging.Push/Tizen.Messaging.Push/ServerResponse.cs

old mode 100644 (file)
new mode 100755 (executable)
index 3e9dd90..ca0e23b
@@ -29,36 +29,6 @@ namespace Tizen.Messaging.Push
     /// APIs are provided so that an application can register itself
     /// with the push server along with APIs to request push message.
     /// </remarks>
-    /// <example>
-    /// <code>
-    /// public class Program
-    /// {
-    ///     static void Main(string[] args)
-    ///     {
-    ///         PushClient.PushServiceConnect("xxxxx");
-    ///         Task<ServerResponse> tr = PushClient.PushServerRegister();
-    ///         tr.GetAwaiter().OnCompleted(() => {
-    ///             ServerResponse res = tr.Result;
-    ///             PushClient.GetUnreadNotifications();
-    ///             Task<ServerResponse> tu = PushClient.PushServerUnregister();
-    ///             tu.GetAwaiter().OnCompleted(() => {
-    ///                 PushClient.PushServiceDisconnect();
-    ///             });
-    ///         });
-    ///         PushClient.NotificationReceived += EventHandlerNotificationReceived;
-    ///         PushClient.StateChanged += EventHandlerStateChanged;
-    ///     }
-    /// }
-    /// static void EventHandlerNotificationReceived(object sender, PushMessageEventArgs e)
-    /// {
-    ///     // any user code
-    /// }
-    /// static void EventHandlerStateChanged(object sender, PushConnectionStateEventArgs e)
-    /// {
-    ///     // any user code
-    /// }
-    /// </code>
-    /// </example>
     public static class PushClient
     {
         /// <summary>
@@ -162,7 +132,8 @@ namespace Tizen.Messaging.Push
         }
 
         /// <summary>
-        /// registration ID received from server. </summary>
+        /// registration ID received from server.
+        /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <returns>
         /// It is the string, which is the ID received from the server.
index d0983f5..37dda4a 100644 (file)
@@ -57,7 +57,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the current state.</value>
+        /// It is the current state.
+        /// </value>
         public PushState State
         {
             get;
@@ -69,7 +70,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the string, which contains the error string if set.</value>
+        /// It is the string, which contains the error string if set.
+        /// </value>
         public string Error
         {
             get;
index c569405..35a5b37 100644 (file)
@@ -47,7 +47,7 @@ namespace Tizen.Messaging.Push
 
         internal PushImpl()
         {
-            //Empty
+            // Empty
         }
 
         private IntPtr _connection;
@@ -138,8 +138,6 @@ namespace Tizen.Messaging.Push
                     ob.Type = type;
                 }
                 PushClient.Notify(ob);
-                //Interop.PushClient.FreeNotification(notification);
-                Log.Info(Interop.PushClient.LogTag, "Free Notification Done");
             };
             Interop.PushClient.ServiceError connectResult = Interop.PushClient.ServiceConnect(pushAppId, stateDelegate, notifyDelegate, IntPtr.Zero, out _connection);
             if (connectResult != Interop.PushClient.ServiceError.None)
index eba6c0e..8be62f1 100644 (file)
@@ -25,10 +25,12 @@ namespace Tizen.Messaging.Push
     public class PushMessageEventArgs : EventArgs
     {
         /// <summary>
-        /// Gives the Application Data recieved. </summary>
+        /// Gives the Application Data recieved.
+        /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the string, which stores the application data.</value>
+        /// It is the string, which stores the application data.
+        /// </value>
         public string AppData
         {
             get;
@@ -40,7 +42,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the string, which stores the message field.</value>
+        /// It is the string, which stores the message field.
+        /// </value>
         public string Message
         {
             get;
@@ -52,7 +55,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the DateTime field representing the time at which the Notification was received.</value>
+        /// It is the DateTime field representing the time at which the Notification was received.
+        /// </value>
         public DateTime ReceivedAt
         {
             get;
@@ -64,7 +68,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is a string value representing the Sender of the Notification.</value>
+        /// It is a string value representing the Sender of the Notification.
+        /// </value>
         public string Sender
         {
             get;
@@ -76,7 +81,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is a string value representing the session ID of the Notification.</value>
+        /// It is a string value representing the session ID of the Notification.
+        /// </value>
         public string SessionInfo
         {
             get;
@@ -88,7 +94,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is a string value representing the request ID of the Notification.</value>
+        /// It is a string value representing the request ID of the Notification.
+        /// </value>
         public string RequestId
         {
             get;
@@ -100,7 +107,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is an integer value representing the type field of the notification.</value>
+        /// It is an integer value representing the type field of the notification.
+        /// </value>
         public int Type
         {
             get;
index e0d895b..e76659b 100644 (file)
@@ -51,7 +51,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the Result state of the operation performed.</value>
+        /// It is the Result state of the operation performed.
+        /// </value>
         public Result ServerResult
         {
             get;
@@ -63,7 +64,8 @@ namespace Tizen.Messaging.Push
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
         /// <value>
-        /// It is the Message sent by the server.</value>
+        /// It is the Message sent by the server.
+        /// </value>
         public string ServerMessage
         {
             get;