语言

ScanSettings.Builder.SetNumOfMatches(Int32) 方法

定义

设置蓝牙 LE 扫描筛选器硬件匹配的匹配项数。

[Android.Runtime.Register("setNumOfMatches", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", "", ApiSince=23)]
public Android.Bluetooth.LE.ScanSettings.Builder? SetNumOfMatches(int numOfMatches);
[<Android.Runtime.Register("setNumOfMatches", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", "", ApiSince=23)>]
member this.SetNumOfMatches : int -> Android.Bluetooth.LE.ScanSettings.Builder

参数

numOfMatches
Int32

或 . 的OneAdvertisementFewAdvertisementMaxAdvertisement整数值。

返回

此生成器实例。

特性

注解

设置蓝牙 LE 扫描筛选器硬件匹配的匹配项数。

Android 参考。android.bluetooth.le.ScanSettings.Builder.setNumOfMatches

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

适用于