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.
20 namespace Tizen.Network.IoTConnectivity
23 /// This class represents event arguments of the ResourceFound event.
25 /// <since_tizen> 3 </since_tizen>
26 public class ResourceFoundEventArgs : EventArgs
28 internal ResourceFoundEventArgs() { }
31 /// Indicates the request ID.
32 /// This is the same request ID returned by the <see cref="IoTConnectivityClientManager.StartFindingResource()"/> API.
34 /// <since_tizen> 3 </since_tizen>
35 /// <value>The request ID.</value>
36 public int RequestId { get; internal set; }
39 /// Indicates to continuously receive the event for finding resource.
41 /// <since_tizen> 3 </since_tizen>
42 /// <value>Continuously receive the event for finding resource.</value>
43 public bool EventContinue { get; set; }
46 /// Remote resource, which is found after <see cref="IoTConnectivityClientManager.StartFindingResource()"/>.
48 /// <since_tizen> 3 </since_tizen>
49 /// <value>Remote resource which is found after <see cref="IoTConnectivityClientManager.StartFindingResource()"/>.</value>
50 /// <seealso cref="IoTConnectivityClientManager.ResourceFound"/>
51 /// <seealso cref="IoTConnectivityClientManager.StartFindingResource()"/>
52 public RemoteResource Resource { get; internal set; }