MockBluetoothGattService

data class MockBluetoothGattService(val uuid: UUID, val type: Int, _characteristics: List<IBluetoothGattCharacteristic>) : IBluetoothGattService

Mock variant of the service. It's special feature is that it is independent from Android dependencies and can be used for unit testing.

Constructors

Link copied to clipboard
constructor(uuid: UUID, type: Int, _characteristics: List<IBluetoothGattCharacteristic>)

Properties

Link copied to clipboard

List of characteristics of this service.

Link copied to clipboard
open override val type: Int

Not parsed type of a service.

Link copied to clipboard
open override val uuid: UUID

UUID of a service.