ScanFilter.Matches(ScanResult) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查掃描濾波器是否符合。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 所創建與分享的作品,並依授權條款所描述的使用進行修改。