다음을 통해 공유


RouteInfo.Matches(InetAddress) Method

Definition

Determines whether the destination and prefix of this route includes the specified address.

[Android.Runtime.Register("matches", "(Ljava/net/InetAddress;)Z", "")]
public bool Matches (Java.Net.InetAddress? destination);
[<Android.Runtime.Register("matches", "(Ljava/net/InetAddress;)Z", "")>]
member this.Matches : Java.Net.InetAddress -> bool

Parameters

destination
InetAddress

A InetAddress to test to see if it would match this route.

Returns

true if the destination and prefix length cover the given address.

Attributes

Remarks

Determines whether the destination and prefix of this route includes the specified address.

Java documentation for android.net.RouteInfo.matches(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