2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 namespace Tizen.Messaging.Push
22 /// An extended EventArgs class, which contains the message received.
24 /// <since_tizen> 3 </since_tizen>
25 public class PushMessageEventArgs : EventArgs
28 /// Gives the Application Data recieved. </summary>
29 /// <since_tizen> 3 </since_tizen>
31 /// It is the string, which stores the application data.</value>
39 /// Gives the Message Received Field.
41 /// <since_tizen> 3 </since_tizen>
43 /// It is the string, which stores the message field.</value>
51 /// Gives the time at which the Notification was received.
53 /// <since_tizen> 3 </since_tizen>
55 /// It is the DateTime field representing the time at which the Notification was received.</value>
56 public DateTime ReceivedAt
63 /// Gives the Sender of the notification.
65 /// <since_tizen> 3 </since_tizen>
67 /// It is a string value representing the Sender of the Notification.</value>
75 /// Gives the session ID of the notification.
77 /// <since_tizen> 3 </since_tizen>
79 /// It is a string value representing the session ID of the Notification.</value>
80 public string SessionInfo
87 /// Gives the request ID of the notification.
89 /// <since_tizen> 3 </since_tizen>
91 /// It is a string value representing the request ID of the Notification.</value>
92 public string RequestId
99 /// Gives the value in the type field of the notification.
101 /// <since_tizen> 3 </since_tizen>
103 /// It is an integer value representing the type field of the notification.</value>
110 internal PushMessageEventArgs()
112 // Giving Default Values
115 ReceivedAt = new DateTime();