Update C# API reference according to doc guide page
[platform/core/csapi/tizenfx.git] / src / Tizen.Network.IoTConnectivity / Tizen.Network.IoTConnectivity / PresenceReceivedEventArgs.cs
1  /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17
18 using System;
19
20 namespace Tizen.Network.IoTConnectivity
21 {
22     /// <summary>
23     /// This class represents event arguments of the PresenceReceived event.
24     /// </summary>
25     /// <since_tizen>3</since_tizen>
26     public class PresenceReceivedEventArgs : EventArgs
27     {
28         internal PresenceReceivedEventArgs() { }
29
30         /// <summary>
31         /// Indicates request id of presence event.
32         /// </summary>
33         /// <since_tizen>3</since_tizen>
34         /// <value>Request id of presence event.</value>
35         public int PresenceId { get; internal set; }
36
37         /// <summary>
38         /// Indicates event type
39         /// </summary>
40         /// <since_tizen>3</since_tizen>
41         /// <value>Event type.</value>
42         public PresenceEventType EventType { get; internal set; }
43
44         /// <summary>
45         /// Indicates host address of resource
46         /// </summary>
47         /// <since_tizen>3</since_tizen>
48         /// <value>Host address of resource.</value>
49         public string HostAddress { get; internal set; }
50
51         /// <summary>
52         /// Indicates type of the resource
53         /// </summary>
54         /// <since_tizen>3</since_tizen>
55         /// <value>Type of the resource.</value>
56         public string Type { get; internal set; }
57     }
58 }