语言

ScanFilter.Matches(ScanResult) 方法

定义

检查扫描筛选器是否与 . 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

参数

scanResult
ScanResult

返回

特性

注解

检查扫描筛选器是否与 . scanResult. 如果扫描结果与所有字段筛选器匹配,则视为匹配项。

Java文档android.bluetooth.le.ScanFilter.matches(android.bluetooth.le.ScanResult)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于