LocalServiceWrapperBuilder

Creates the platform LocalServiceWrappers, LocalCharacteristicWrappers and LocalDescriptorWrappers for a LocalService graph. Injected into the DSL so tests can supply wrappers that don't require a live Bluetooth stack.

Inheritors

Functions

Link copied to clipboard
abstract fun createCharacteristic(uuid: UUID, properties: Set<CharacteristicProperty>, encryptedNotification: Boolean, permissions: Set<LocalCharacteristic.Permission>): LocalCharacteristicWrapper
Link copied to clipboard
Link copied to clipboard

Creates a LocalServiceWrapper for the given uuid and type