FilterSet

data class FilterSet(val services: List<Filter.Service> = emptyList(), val name: Filter.Name? = null, val namePrefix: Filter.NamePrefix? = null, val manufacturerData: List<Filter.ManufacturerData> = emptyList())

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

Constructors

Link copied to clipboard
constructor(services: List<Filter.Service> = emptyList(), name: Filter.Name? = null, namePrefix: Filter.NamePrefix? = null, manufacturerData: List<Filter.ManufacturerData> = emptyList())

Properties

Link copied to clipboard
val name: Filter.Name? = null
Link copied to clipboard
Link copied to clipboard