Share via


NsdServiceInfo.HostAddresses Property

Definition

Get the host addresses. -or- Set the host addresses

public System.Collections.Generic.IList<Java.Net.InetAddress> HostAddresses { [Android.Runtime.Register("getHostAddresses", "()Ljava/util/List;", "", ApiSince=34)] get; [Android.Runtime.Register("setHostAddresses", "(Ljava/util/List;)V", "", ApiSince=34)] set; }
[<get: Android.Runtime.Register("getHostAddresses", "()Ljava/util/List;", "", ApiSince=34)>]
[<set: Android.Runtime.Register("setHostAddresses", "(Ljava/util/List;)V", "", ApiSince=34)>]
member this.HostAddresses : System.Collections.Generic.IList<Java.Net.InetAddress> with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get the host addresses.

All host addresses are valid for the resolved service. All addresses share the same port

Java documentation for android.net.nsd.NsdServiceInfo.getHostAddresses().

Property setter documentation:

Set the host addresses

Java documentation for android.net.nsd.NsdServiceInfo.setHostAddresses(java.util.List<java.net.InetAddress>).

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