語言

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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於