Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-data
/
org.meshtastic.core.data.datasource
/
DeviceHardwareLocalDataSource
Device
Hardware
Local
Data
Source
class
DeviceHardwareLocalDataSource
(
dbManager
:
DatabaseProvider
,
dispatchers
:
CoroutineDispatchers
)
(
source
)
Members
Constructors
Device
Hardware
Local
Data
Source
Link copied to clipboard
constructor
(
dbManager
:
DatabaseProvider
,
dispatchers
:
CoroutineDispatchers
)
Functions
delete
All
Device
Hardware
Link copied to clipboard
suspend
fun
deleteAllDeviceHardware
(
)
get
By
Hw
Model
Link copied to clipboard
suspend
fun
getByHwModel
(
hwModel
:
Int
)
:
List
<
DeviceHardwareEntity
>
get
By
Model
And
Target
Link copied to clipboard
suspend
fun
getByModelAndTarget
(
hwModel
:
Int
,
target
:
String
)
:
DeviceHardwareEntity
?
get
By
Target
Link copied to clipboard
suspend
fun
getByTarget
(
target
:
String
)
:
DeviceHardwareEntity
?
insert
All
Device
Hardware
Link copied to clipboard
suspend
fun
insertAllDeviceHardware
(
deviceHardware
:
List
<
NetworkDeviceHardware
>
)