Language

ScanSettings.Builder.SetMatchMode(BluetoothScanMatchMode) Method

Definition

Set match mode for Bluetooth LE scan filters hardware match.

[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

Parameters

matchMode
BluetoothScanMatchMode

The match mode: Aggressive or Sticky.

Returns

This builder instance.

Attributes

Remarks

Set match mode for Bluetooth LE scan filters hardware match.

Android reference for android.bluetooth.le.ScanSettings.Builder.setMatchMode.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to