ScanSettings.Builder.SetMatchMode(BluetoothScanMatchMode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为蓝牙 LE 扫描筛选器硬件匹配设置匹配模式。
[Android.Runtime.Register("setMatchMode", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", "", ApiSince=23)]
public Android.Bluetooth.LE.ScanSettings.Builder? SetMatchMode(Android.Bluetooth.LE.BluetoothScanMatchMode matchMode);
[<Android.Runtime.Register("setMatchMode", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", "", ApiSince=23)>]
member this.SetMatchMode : Android.Bluetooth.LE.BluetoothScanMatchMode -> Android.Bluetooth.LE.ScanSettings.Builder
参数
- matchMode
- BluetoothScanMatchMode
匹配模式可以是ScanSettings.MATCH_MODE_AGGRESSIVE或ScanSettings.MATCH_MODE_STICKY之一
返回
- 特性
注解
为蓝牙 LE 扫描筛选器硬件匹配设置匹配模式。
Android 参考。android.bluetooth.le.ScanSettings.Builder.setMatchMode
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。