NsdManager.IResolveListener.OnServiceResolved(NsdServiceInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called on the internal thread or with an executor passed to
NsdManager#resolveService
to report the resolved service info.
[Android.Runtime.Register("onServiceResolved", "(Landroid/net/nsd/NsdServiceInfo;)V", "GetOnServiceResolved_Landroid_net_nsd_NsdServiceInfo_Handler:Android.Net.Nsd.NsdManager/IResolveListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnServiceResolved (Android.Net.Nsd.NsdServiceInfo? serviceInfo);
[<Android.Runtime.Register("onServiceResolved", "(Landroid/net/nsd/NsdServiceInfo;)V", "GetOnServiceResolved_Landroid_net_nsd_NsdServiceInfo_Handler:Android.Net.Nsd.NsdManager/IResolveListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnServiceResolved : Android.Net.Nsd.NsdServiceInfo -> unit
Parameters
- serviceInfo
- NsdServiceInfo
- Attributes
Remarks
Called on the internal thread or with an executor passed to NsdManager#resolveService
to report the resolved service info.
A resolution operation would call either onServiceResolved or onResolveFailed once based on the result.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.