toggle menu
horologist
androidJvm
switch theme
search in API
network-awareness-db
/
com.google.android.horologist.networks.db
/
DBDataRequestRepository
DBData
Request
Repository
class
DBDataRequestRepository
(
val
networkUsageDao
:
NetworkUsageDao
,
val
coroutineScope
:
CoroutineScope
)
:
DataRequestRepository
Members
Constructors
DBData
Request
Repository
Link copied to clipboard
constructor
(
networkUsageDao
:
NetworkUsageDao
,
coroutineScope
:
CoroutineScope
)
Properties
coroutine
Scope
Link copied to clipboard
val
coroutineScope
:
CoroutineScope
day
Link copied to clipboard
val
day
:
Int
from
Link copied to clipboard
val
from
:
Instant
network
Usage
Dao
Link copied to clipboard
val
networkUsageDao
:
NetworkUsageDao
to
Link copied to clipboard
val
to
:
Instant
today
Link copied to clipboard
val
today
:
LocalDate
Functions
current
Period
Usage
Link copied to clipboard
open
override
fun
currentPeriodUsage
(
)
:
Flow
<
DataUsageReport
>
store
Request
Link copied to clipboard
open
override
fun
storeRequest
(
dataRequest
:
DataRequest
)