LocalServiceWrapperBuilder
interface 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
Creates a LocalCharacteristicWrapper for the given uuid, properties and permissions
Link copied to clipboard
abstract fun createDescriptor(uuid: UUID, permissions: Set<LocalDescriptor.Permissions>): LocalDescriptorWrapper
Creates a LocalDescriptorWrapper for the given uuid and permissions
Link copied to clipboard
Creates a LocalServiceWrapper for the given uuid and type