Kaluga
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kaluga
test-utils-bluetooth-client
/
com.splendo.kaluga.test.bluetooth.device
/
MockDeviceState
/
Connectable
Connectable
sealed
class
Connectable
:
MockDeviceState
Inheritors
Connected
Connecting
Disconnected
Disconnecting
Members
Properties
as
Device
State
Link copied to clipboard
abstract
val
asDeviceState
:
ConnectableDeviceState
did
Disconnect
Link copied to clipboard
val
didDisconnect
:
suspend
(
)
->
MockDeviceState.Disconnected
disconnecting
Link copied to clipboard
val
disconnecting
:
suspend
(
)
->
MockDeviceState.Disconnecting
mock
Connectable
Device
Manager
Link copied to clipboard
abstract
val
mockConnectableDeviceManager
:
MockConnectableDeviceManager
Functions
remain
Link copied to clipboard
open
fun
<
S
:
KalugaState
>
remain
(
)
:
suspend
(
)
->
S
unpair
Link copied to clipboard
suspend
fun
unpair
(
)