Compartilhar via


NsdManager.IResolveListener.OnResolutionStopped(NsdServiceInfo) Method

Definition

Called on the internal thread or with an executor passed to NsdManager#resolveService to report the resolution was stopped.

[Android.Runtime.Register("onResolutionStopped", "(Landroid/net/nsd/NsdServiceInfo;)V", "GetOnResolutionStopped_Landroid_net_nsd_NsdServiceInfo_Handler:Android.Net.Nsd.NsdManager/IResolveListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public virtual void OnResolutionStopped (Android.Net.Nsd.NsdServiceInfo serviceInfo);
[<Android.Runtime.Register("onResolutionStopped", "(Landroid/net/nsd/NsdServiceInfo;)V", "GetOnResolutionStopped_Landroid_net_nsd_NsdServiceInfo_Handler:Android.Net.Nsd.NsdManager/IResolveListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnResolutionStopped : Android.Net.Nsd.NsdServiceInfo -> unit
override this.OnResolutionStopped : 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 resolution was stopped.

A stop resolution operation would call either onResolutionStopped or onStopResolutionFailed once based on the result.

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

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