NsdManager.IResolveListener.OnStopResolutionFailed 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 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.
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.