c670c30cbd7d53214fcebb5e9fa935821723a93f
[platform/core/csapi/tizenfx.git] / src / Tizen.Network.IoTConnectivity / Tizen.Network.IoTConnectivity / ResourceFoundEventArgs.cs
1 /// Copyright 2016 by Samsung Electronics, Inc.,
2 ///
3 /// This software is the confidential and proprietary information
4 /// of Samsung Electronics, Inc. ("Confidential Information"). You
5 /// shall not disclose such Confidential Information and shall use
6 /// it only in accordance with the terms of the license agreement
7 /// you entered into with Samsung.
8
9 using System;
10
11 namespace Tizen.Network.IoTConnectivity
12 {
13     /// <summary>
14     /// This class is an event arguments of the ResourceFound event.
15     /// </summary>
16     public class ResourceFoundEventArgs : EventArgs
17     {
18         internal ResourceFoundEventArgs() { }
19
20         /// <summary>
21         /// Indicates the request id.
22         /// This is the same request id returned by the <see cref="IoTConnectivityClientManager.StartFindingResource()"/> API.
23         /// </summary>
24         public int RequestId { get; internal set; }
25
26         /// <summary>
27         /// Remote resource which is found after <see cref="IoTConnectivityClientManager.StartFindingResource()"/>.
28         /// </summary>
29         /// <seealso cref="IoTConnectivityClientManager.ResourceFound"/>
30         /// <seealso cref="IoTConnectivityClientManager.StartFindingResource()"/>
31         public RemoteResource Resource { get; internal set; }
32     }
33 }