toggle menu
lib
common
switch theme
search in API
mockzilla-management-ui
/
com.apadmi.mockzilla.desktop.engine.device
/
ActiveDeviceManagerImpl
Active
Device
Manager
Impl
class
ActiveDeviceManagerImpl
(
metaDataUseCase
:
MetaDataUseCase
,
scope
:
CoroutineScope
)
:
ActiveDeviceMonitor
,
ActiveDeviceSelector
Members
Constructors
Active
Device
Manager
Impl
Link copied to clipboard
constructor
(
metaDataUseCase
:
MetaDataUseCase
,
scope
:
CoroutineScope
)
Properties
all
Devices
Link copied to clipboard
open
override
val
allDevices
:
MutableCollection
<
StatefulDevice
>
on
Device
Connection
State
Change
Link copied to clipboard
open
override
val
onDeviceConnectionStateChange
:
MutableSharedFlow
<
Unit
>
selected
Device
Link copied to clipboard
open
override
val
selectedDevice
:
MutableStateFlow
<
StatefulDevice
?
>
Functions
clear
Selected
Device
Link copied to clipboard
open
override
fun
clearSelectedDevice
(
)
set
Active
Device
With
Meta
Data
Link copied to clipboard
open
override
fun
setActiveDeviceWithMetaData
(
device
:
Device
,
metadata
:
MetaData
)
update
Selected
Device
Link copied to clipboard
open
override
fun
updateSelectedDevice
(
device
:
Device
)