NsdManager.ResolveService 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.
Overloads
ResolveService(NsdServiceInfo, NsdManager+IResolveListener) |
Resolve a discovered service. |
ResolveService(NsdServiceInfo, IExecutor, NsdManager+IResolveListener) |
ResolveService(NsdServiceInfo, NsdManager+IResolveListener)
Resolve a discovered service.
[Android.Runtime.Register("resolveService", "(Landroid/net/nsd/NsdServiceInfo;Landroid/net/nsd/NsdManager$ResolveListener;)V", "")]
public void ResolveService (Android.Net.Nsd.NsdServiceInfo? serviceInfo, Android.Net.Nsd.NsdManager.IResolveListener? listener);
[<Android.Runtime.Register("resolveService", "(Landroid/net/nsd/NsdServiceInfo;Landroid/net/nsd/NsdManager$ResolveListener;)V", "")>]
member this.ResolveService : Android.Net.Nsd.NsdServiceInfo * Android.Net.Nsd.NsdManager.IResolveListener -> unit
Parameters
- serviceInfo
- NsdServiceInfo
service to be resolved
- listener
- NsdManager.IResolveListener
to receive callback upon success or failure. Cannot be null. Cannot be in use for an active service resolution.
- Attributes
Remarks
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.
Applies to
ResolveService(NsdServiceInfo, IExecutor, NsdManager+IResolveListener)
[Android.Runtime.Register("resolveService", "(Landroid/net/nsd/NsdServiceInfo;Ljava/util/concurrent/Executor;Landroid/net/nsd/NsdManager$ResolveListener;)V", "", ApiSince=33)]
public void ResolveService (Android.Net.Nsd.NsdServiceInfo serviceInfo, Java.Util.Concurrent.IExecutor executor, Android.Net.Nsd.NsdManager.IResolveListener listener);
[<Android.Runtime.Register("resolveService", "(Landroid/net/nsd/NsdServiceInfo;Ljava/util/concurrent/Executor;Landroid/net/nsd/NsdManager$ResolveListener;)V", "", ApiSince=33)>]
member this.ResolveService : Android.Net.Nsd.NsdServiceInfo * Java.Util.Concurrent.IExecutor * Android.Net.Nsd.NsdManager.IResolveListener -> unit
Parameters
- serviceInfo
- NsdServiceInfo
- executor
- IExecutor
- listener
- NsdManager.IResolveListener
- Attributes