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 public class PushMessageEventArgs : EventArgs
27 /// Gives the Application Data recieved. </summary>
29 /// It is the string which stores the application data.</value>
37 /// Gives the Message Received Field.
40 /// It is the string which stores the message field.</value>
48 /// Gives the time at which the Notification was received.
51 /// It is the DateTime field representing the time at which the Notification was received.</value>
52 public DateTime ReceivedAt
59 /// Gives the Sender of the notification.
62 /// It is a string value representing the Sender of the Notification.</value>
70 /// Gives the session ID of the notification.
73 /// It is a string value representing the session ID of the Notification.</value>
74 public string SessionInfo
81 /// Gives the request Id of the notification.
84 /// It is a string value representing the request Id of the Notification.</value>
85 public string RequestId
92 /// Gives the value in the type field of the notification.
95 /// It is an integer value representing the type field of the notification.</value>
102 internal PushMessageEventArgs()
104 // Giving Default Values
107 ReceivedAt = new DateTime();