Share via


MacAddress.Matches(MacAddress, MacAddress) Method

Definition

Checks if this MAC Address matches the provided range.

[Android.Runtime.Register("matches", "(Landroid/net/MacAddress;Landroid/net/MacAddress;)Z", "", ApiSince=30)]
public bool Matches (Android.Net.MacAddress baseAddress, Android.Net.MacAddress mask);
[<Android.Runtime.Register("matches", "(Landroid/net/MacAddress;Landroid/net/MacAddress;)Z", "", ApiSince=30)>]
member this.Matches : Android.Net.MacAddress * Android.Net.MacAddress -> bool

Parameters

baseAddress
MacAddress

MacAddress representing the base address to compare with.

mask
MacAddress

MacAddress representing the mask to use during comparison.

Returns

true if this MAC Address matches the given range.

Attributes

Remarks

Checks if this MAC Address matches the provided range.

Java documentation for android.net.MacAddress.matches(android.net.MacAddress, android.net.MacAddress).

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