FilterSet
data class FilterSet(val services: List<<Error class: unknown class>> = emptyList(), val name: <Error class: unknown class>? = null, val namePrefix: <Error class: unknown class>? = null, val manufacturerData: List<<Error class: unknown class>> = emptyList())
Deprecated
Replaced with FilterPredicateBuilder
Replace with
FilterPredicateBuilder().apply {
name = name
services = services
manufacturerData = manufacturerData
}.build()"
Content copied to clipboard
Filtering on Service Data is not supported because it is not implemented: https://github.com/WebBluetoothCG/web-bluetooth/blob/main/implementation-status.md
Filtering on Manufacturer Data is supported and a good explanation can be found here: https://github.com/WebBluetoothCG/web-bluetooth/blob/main/data-filters-explainer.md