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.
30 /// <since_tizen> 3 </since_tizen>
32 /// It is the string, which stores the application data.
41 /// Gives the Message Received Field.
43 /// <since_tizen> 3 </since_tizen>
45 /// It is the string, which stores the message field.
54 /// Gives the time at which the Notification was received.
56 /// <since_tizen> 3 </since_tizen>
58 /// It is the DateTime field representing the time at which the Notification was received.
60 public DateTime ReceivedAt
67 /// Gives the Sender of the notification.
69 /// <since_tizen> 3 </since_tizen>
71 /// It is a string value representing the Sender of the Notification.
80 /// Gives the session ID of the notification.
82 /// <since_tizen> 3 </since_tizen>
84 /// It is a string value representing the session ID of the Notification.
86 public string SessionInfo
93 /// Gives the request ID of the notification.
95 /// <since_tizen> 3 </since_tizen>
97 /// It is a string value representing the request ID of the Notification.
99 public string RequestId
106 /// Gives the value in the type field of the notification.
108 /// <since_tizen> 3 </since_tizen>
110 /// It is an integer value representing the type field of the notification.
118 internal PushMessageEventArgs()
120 // Giving Default Values
123 ReceivedAt = new DateTime();