ScanSettings.Builder.SetNumOfMatches(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.