Fixed typo
[platform/core/csapi/push.git] / Tizen.Messaging / Push / PushMessageEventArgs.cs
1 /// This File contains the Api's related to the PushMessageEventArgs class
2 ///
3 /// Copyright 2016 by Samsung Electronics, Inc.,
4 ///
5 /// This software is the confidential and proprietary information
6 /// of Samsung Electronics, Inc. ("Confidential Information"). You
7 /// shall not disclose such Confidential Information and shall use
8 /// it only in accordance with the terms of the license agreement
9 /// you entered into with Samsung.
10
11
12 using System;
13
14 namespace Tizen.Messaging.Push
15 {
16     /// <summary>
17     /// An extended EventArgs class which contains the message received.
18     /// </summary>
19     public class PushMessageEventArgs : EventArgs
20     {
21         /// <summary>
22         /// Gives the Application Data recieved. </summary>
23         /// <value>
24         /// It is the string which stores the application data.</value>
25         public string AppData
26         {
27             get;
28             internal set;
29         }
30
31         /// <summary>
32         /// Gives the Message Received Field.
33         /// </summary>
34         /// <value>
35         /// It is the string which stores the message field.</value>
36         public string Message
37         {
38             get;
39             internal set;
40         }
41
42         /// <summary>
43         /// Gives the time at which the Notification was received.
44         /// </summary>
45         /// <value>
46         /// It is the DateTime field representing the time at which the Notification was received.</value>
47         public DateTime ReceivedAt
48         {
49             get;
50             internal set;
51         }
52
53         /// <summary>
54         /// Gives the Sender of the notification.
55         /// </summary>
56         /// <value>
57         /// It is a string value representing the Sender of the Notification.</value>
58         public string Sender
59         {
60             get;
61             internal set;
62         }
63
64         /// <summary>
65         /// Gives the session ID of the notification.
66         /// </summary>
67         /// <value>
68         /// It is a string value representing the session ID of the Notification.</value>
69         public string SessionInfo
70         {
71             get;
72             internal set;
73         }
74
75         /// <summary>
76         /// Gives the request Id of the notification.
77         /// </summary>
78         /// <value>
79         /// It is a string value representing the request Id of the Notification.</value>
80         public string RequestId
81         {
82             get;
83             internal set;
84         }
85
86         /// <summary>
87         /// Gives the value in the type field of the notification.
88         /// </summary>
89         /// <value>
90         /// It is an integer value representing the type field of the notification.</value>
91         public int Type
92         {
93             get;
94             internal set;
95         }
96
97         internal PushMessageEventArgs()
98         {
99             // Giving Default Values
100             AppData = "";
101             Message = "";
102             ReceivedAt = new DateTime();
103             Sender = "";
104             SessionInfo= "";
105             RequestId = "";
106         }
107     }
108 }