ScannerBuilder

actual class ScannerBuilder
actual class ScannerBuilder
expect class ScannerBuilder
actual class ScannerBuilder
actual class ScannerBuilder

Constructors

Link copied to clipboard
constructor()
constructor()
constructor()
constructor()

Properties

Link copied to clipboard

Specifies whether the scan should run without duplicate filtering. This corresponds to Core Bluetooth's CBCentralManagerScanOptionAllowDuplicatesKey scanning option.

Link copied to clipboard
actual var filters: List<Filter>?
actual var filters: List<Filter>?
expect var filters: List<Filter>?

Filters Advertisements during a scan: If filters is null or empty, then no filtering is performed (i.e. all Advertisements are emitted during a scan). If filters are provided (i.e. filters is a list of at least one Filter), then only Advertisements that match at least one Filter are emitted during a scan.

actual var filters: List<Filter>?
actual var filters: List<Filter>?
Link copied to clipboard

Configures Scanner to pre-conflate the advertisements flow.

Link copied to clipboard

Allows for the Scanner to be configured via Android's ScanSettings.

Link copied to clipboard

Causes the scanner to scan for peripherals soliciting any of the services contained in the array. This corresponds to Core Bluetooth's CBCentralManagerScanOptionSolicitedServiceUUIDsKey scanning option.

Functions

Link copied to clipboard
actual fun filters(builderAction: FiltersBuilder.() -> Unit)
actual fun filters(builderAction: <Error class: unknown class>.() -> Unit)
expect fun filters(builderAction: FiltersBuilder.() -> Unit)

Filters Advertisements during a scan. If predicates are non-empty, then only Advertisements that match at least one of the predicates are emitted during a scan.

actual fun filters(builderAction: FiltersBuilder.() -> Unit)

Filters Advertisements during a scan. If predicates are non-empty, then only Advertisements that match at least one of the predicates are emitted during a scan.

actual fun filters(builderAction: FiltersBuilder.() -> Unit)
Link copied to clipboard
actual fun logging(init: LoggingBuilder)
actual fun logging(init: <Error class: unknown class>)
expect fun logging(init: LoggingBuilder)
actual fun logging(init: LoggingBuilder)
actual fun logging(init: LoggingBuilder)