BluetoothGattServiceFactory

Factory class responsible for creating a new instance, a copy of IBluetoothGattService.

Functions

Link copied to clipboard

Clones characteristics and it's properties using reflection. Reflection is needed to make an exact copy.

Link copied to clipboard

Clones descriptors and it's properties using reflection. Reflection is needed to make an exact copy.

Link copied to clipboard

Copies a service. New instance is needed to separate containing values per connected client device.

Link copied to clipboard

Creates a MockBluetoothGattService instance based on configuration provided.

Link copied to clipboard

Creates a NativeBluetoothGattService instance based on configuration provided.