NsdManager.IServiceInfoCallback.OnServiceInfoCallbackRegistrationFailed 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.
Reports that registering the callback failed with an error.
[Android.Runtime.Register("onServiceInfoCallbackRegistrationFailed", "(I)V", "GetOnServiceInfoCallbackRegistrationFailed_IHandler:Android.Net.Nsd.NsdManager/IServiceInfoCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnServiceInfoCallbackRegistrationFailed (Android.Net.Nsd.NsdFailure errorCode);
[<Android.Runtime.Register("onServiceInfoCallbackRegistrationFailed", "(I)V", "GetOnServiceInfoCallbackRegistrationFailed_IHandler:Android.Net.Nsd.NsdManager/IServiceInfoCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnServiceInfoCallbackRegistrationFailed : Android.Net.Nsd.NsdFailure -> unit
Parameters
- errorCode
- NsdFailure
- Attributes
Remarks
Reports that registering the callback failed with an error.
Called on the executor passed to NsdManager#registerServiceInfoCallback
.
onServiceInfoCallbackRegistrationFailed will be called exactly once when the callback could not be registered. No other callback will be sent in that case.
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.