IBluetoothGattService

sealed interface IBluetoothGattService

Interface representing bluetooth gatt service. It's task is to hide an implementation which can be both NativeBluetoothGattService (which is a wrapper around native Android BluetoothGattService) or MockBluetoothGattService. The role of an interface is to hide a detailed implementation and separate native Android BluetoothGattService for mock variant as it can't be unit tested.

Inheritors

Properties

Link copied to clipboard

List of characteristics of this service.

Link copied to clipboard
abstract val type: Int

Not parsed type of a service.

Link copied to clipboard
abstract val uuid: UUID

UUID of a service.