Compartilhar via


NsdManager.IResolveListener.OnStopResolutionFailed Method

Definition

Called once on the internal thread or with an executor passed to NsdManager#resolveService to report that stopping resolution failed with an error.

[Android.Runtime.Register("onStopResolutionFailed", "(Landroid/net/nsd/NsdServiceInfo;I)V", "GetOnStopResolutionFailed_Landroid_net_nsd_NsdServiceInfo_IHandler:Android.Net.Nsd.NsdManager/IResolveListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public virtual void OnStopResolutionFailed (Android.Net.Nsd.NsdServiceInfo serviceInfo, Android.Net.Nsd.NsdFailure errorCode);
[<Android.Runtime.Register("onStopResolutionFailed", "(Landroid/net/nsd/NsdServiceInfo;I)V", "GetOnStopResolutionFailed_Landroid_net_nsd_NsdServiceInfo_IHandler:Android.Net.Nsd.NsdManager/IResolveListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnStopResolutionFailed : Android.Net.Nsd.NsdServiceInfo * Android.Net.Nsd.NsdFailure -> unit
override this.OnStopResolutionFailed : Android.Net.Nsd.NsdServiceInfo * Android.Net.Nsd.NsdFailure -> unit

Parameters

serviceInfo
NsdServiceInfo
errorCode
NsdFailure
Attributes

Remarks

Called once on the internal thread or with an executor passed to NsdManager#resolveService to report that stopping resolution failed with an error.

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

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

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