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.Network.Nsd
22 /// An extended EventArgs class, which contains the changed service state during a service discovery using DNS-SD.
24 /// <since_tizen> 4 </since_tizen>
25 public class DnssdServiceFoundEventArgs : EventArgs
27 private DnssdServiceState _state;
28 private DnssdService _service;
30 internal DnssdServiceFoundEventArgs(DnssdServiceState state, DnssdService service)
37 /// The DNS-SD service state.
39 /// <since_tizen> 4 </since_tizen>
40 public DnssdServiceState State
49 /// The DNS-SD service instance.
51 /// <since_tizen> 4 </since_tizen>
52 public DnssdService Service
62 /// An extended EventArgs class, which contains the changed service state during a service discovery using SSDP.
64 /// <since_tizen> 4 </since_tizen>
65 public class SsdpServiceFoundEventArgs : EventArgs
67 private SsdpServiceState _state;
68 private SsdpService _service;
70 internal SsdpServiceFoundEventArgs(SsdpServiceState state, SsdpService service)
77 /// The SSDP service state.
79 /// <since_tizen> 4 </since_tizen>
80 public SsdpServiceState State
89 /// The SSDP service instance.
91 /// <since_tizen> 4 </since_tizen>
92 public SsdpService Service