NsdManager.IServiceInfoCallback.OnServiceUpdated(NsdServiceInfo) 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 updated service info.
[Android.Runtime.Register("onServiceUpdated", "(Landroid/net/nsd/NsdServiceInfo;)V", "GetOnServiceUpdated_Landroid_net_nsd_NsdServiceInfo_Handler:Android.Net.Nsd.NsdManager/IServiceInfoCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnServiceUpdated (Android.Net.Nsd.NsdServiceInfo serviceInfo);
[<Android.Runtime.Register("onServiceUpdated", "(Landroid/net/nsd/NsdServiceInfo;)V", "GetOnServiceUpdated_Landroid_net_nsd_NsdServiceInfo_Handler:Android.Net.Nsd.NsdManager/IServiceInfoCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnServiceUpdated : Android.Net.Nsd.NsdServiceInfo -> unit
Parameters
- serviceInfo
- NsdServiceInfo
- Attributes
Remarks
Reports updated service info.
Called on the executor passed to NsdManager#registerServiceInfoCallback
. Any service updates will be notified via this callback until NsdManager#unregisterServiceInfoCallback
is called. This will only be called once the service is found, so may never be called if the service is never present.
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.