Meshtastic App
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Meshtastic App
Meshtastic App
/
com.geeksville.mesh.repository.datastore.recentaddresses
/
RecentAddressesRepository
Recent
Addresses
Repository
@
Singleton
class
RecentAddressesRepository
@
Inject
constructor
(
context
:
Context
,
dataStore
:
DataStore
<
Preferences
>
)
:
Logging
Members
Constructors
Recent
Addresses
Repository
Link copied to clipboard
@
Inject
constructor
(
context
:
Context
,
dataStore
:
DataStore
<
Preferences
>
)
Properties
recent
Addresses
Link copied to clipboard
val
recentAddresses
:
Flow
<
List
<
RecentAddress
>
>
Functions
add
Link copied to clipboard
suspend
fun
add
(
address
:
RecentAddress
)
remove
Link copied to clipboard
suspend
fun
remove
(
address
:
String
)
set
Recent
Addresses
Link copied to clipboard
suspend
fun
setRecentAddresses
(
addresses
:
List
<
RecentAddress
>
)