Package-level declarations
Types
Link copied to clipboard
data class MockAdvertisementData(val name: String? = null, val manufacturerId: Int? = null, val manufacturerData: ByteArray? = null, val serviceUUIDs: List<UUID> = emptyList(), val serviceData: Map<UUID, ByteArray?> = emptyMap(), val txPowerLevel: TxPower = Int.MIN_VALUE, val isConnectable: Boolean = true) : BaseAdvertisementData
Mock implementation of BaseAdvertisementData
Link copied to clipboard
Link copied to clipboard
class MockConnectableDeviceStateRepo(mockConnectableDeviceManager: MockConnectableDeviceManager, coroutineContext: CoroutineContext) : BaseConnectableDeviceStateRepo
Link copied to clipboard
class MockDevice(val identifier: Identifier = randomIdentifier(), val info: MutableStateFlow<MockDeviceInfo> = MutableStateFlow(MockDeviceInfo()), connectionSettings: ConnectionSettings = ConnectionSettings(), coroutineContext: CoroutineContext, setupMocks: Boolean = true) : Device
Link copied to clipboard
class MockDeviceConnectionManager(initialWillActionSucceed: Boolean = true, deviceWrapper: DeviceWrapper, connectionSettings: ConnectionSettings, coroutineScope: CoroutineScope, setupMocks: Boolean = true) : BaseDeviceConnectionManager
Mock implementation of BaseDeviceConnectionManager
Link copied to clipboard
data class MockDeviceInfo(val identifier: Identifier = randomIdentifier(), val advertisementData: BaseAdvertisementData = MockAdvertisementData(), val name: String? = null, val rssi: RSSI = Int.MIN_VALUE, val updatedAt: KalugaDate = DefaultKalugaDate.epoch()) : DeviceInfo
Link copied to clipboard