Language

ScanSettings.Builder.SetNumOfMatches(Int32) Method

Definition

Set the number of matches for Bluetooth LE scan filters hardware match.

[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

Parameters

numOfMatches
Int32

The num of matches can be one of ScanSettings.MATCH_NUM_ONE_ADVERTISEMENT or ScanSettings.MATCH_NUM_FEW_ADVERTISEMENT or ScanSettings.MATCH_NUM_MAX_ADVERTISEMENT

Returns

Attributes

Remarks

Set the number of matches for Bluetooth LE scan filters hardware match.

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

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