Share via


NsdManager.ResolveService Method

Definition

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

Java documentation for android.net.nsd.NsdManager.resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.ResolveListener).

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
Attributes

Applies to