Langue

HttpsRecord.IpAddressHints Property

Definition

Returns the list of IP hints (IPv4 & IPv6) contained in the HTTPS record.

public virtual System.Collections.Generic.IList<Java.Net.InetAddress> IpAddressHints { [Android.Runtime.Register("getIpAddressHints", "()Ljava/util/List;", "GetGetIpAddressHintsHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getIpAddressHints", "()Ljava/util/List;", "GetGetIpAddressHintsHandler", ApiSince=37)>]
member this.IpAddressHints : System.Collections.Generic.IList<Java.Net.InetAddress>

Property Value

Attributes

Remarks

Returns the list of IP hints (IPv4 & IPv6) contained in the HTTPS record.

This method returns all the hints present in the record, including address families that are not present on the current network. To determine which IP addresses to use when establishing a connection, use HttpsEndpoint.getIpAddresses() instead.

The list is sorted according to RFC 6724. See RFC 9460 7.3 for more details.

Android reference for android.net.dns.HttpsRecord.getIpAddressHints.

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