Language

NsdManager.IServiceInfoCallback.OnServiceInfoCallbackRegistered Method

Definition

Reports that the callback was successfully registered.

[Android.Runtime.Register("onServiceInfoCallbackRegistered", "()V", "GetOnServiceInfoCallbackRegisteredHandler:Android.Net.Nsd.NsdManager/IServiceInfoCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public virtual void OnServiceInfoCallbackRegistered();
[<Android.Runtime.Register("onServiceInfoCallbackRegistered", "()V", "GetOnServiceInfoCallbackRegisteredHandler:Android.Net.Nsd.NsdManager/IServiceInfoCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member OnServiceInfoCallbackRegistered : unit -> unit
override this.OnServiceInfoCallbackRegistered : unit -> unit
Attributes

Remarks

Reports that the callback was successfully registered.

Called on the executor passed to NsdManager.registerServiceInfoCallback.

This indicates that onServiceInfoCallbackRegistrationFailed will not be called, and service update callbacks will be sent.

Android reference for android.net.nsd.NsdManager.ServiceInfoCallback.onServiceInfoCallbackRegistered.

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