ScanFilter.Matches(ScanResult) 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.
Check if the scan filter matches a scanResult.
[Android.Runtime.Register("matches", "(Landroid/bluetooth/le/ScanResult;)Z", "")]
public bool Matches(Android.Bluetooth.LE.ScanResult? scanResult);
[<Android.Runtime.Register("matches", "(Landroid/bluetooth/le/ScanResult;)Z", "")>]
member this.Matches : Android.Bluetooth.LE.ScanResult -> bool
Parameters
- scanResult
- ScanResult
The scan result to test against this filter.
Returns
true if the result satisfies this filter; otherwise, false. A null result does not match.
- Attributes
Remarks
Check if the scan filter matches a scanResult. A scan result is considered as a match if it matches all the field filters.
Java documentation for android.bluetooth.le.ScanFilter.matches(android.bluetooth.le.ScanResult).
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.