Meshtastic App
Toggle table of contents
android
Target filter
android
Switch theme
Search in API
Skip to content
Meshtastic App
core-service
/
org.meshtastic.core.service.worker
/
MeshLogCleanupWorker
Mesh
Log
Cleanup
Worker
android
class
MeshLogCleanupWorker
(
appContext
:
Context
,
workerParams
:
WorkerParameters
,
meshLogCleanup
:
MeshLogCleanup
)
:
CoroutineWorker
(
source
)
Members
Constructors
Mesh
Log
Cleanup
Worker
Link copied to clipboard
android
constructor
(
appContext
:
Context
,
workerParams
:
WorkerParameters
,
meshLogCleanup
:
MeshLogCleanup
)
Types
Companion
Link copied to clipboard
android
object
Companion
Properties
application
Context
Link copied to clipboard
android
val
applicationContext
:
@
NonNull
Context
background
Executor
Link copied to clipboard
android
@get:
RestrictTo
(
value
=
[
Scope.LIBRARY_GROUP
]
)
open
val
backgroundExecutor
:
@
NonNull
Executor
coroutine
Context
Link copied to clipboard
android
open
val
coroutineContext
:
CoroutineDispatcher
foreground
Info
Async
Link copied to clipboard
android
val
foregroundInfoAsync
:
ListenableFuture
<
ForegroundInfo
>
id
Link copied to clipboard
android
val
id
:
@
NonNull
UUID
input
Data
Link copied to clipboard
android
val
inputData
:
@
NonNull
Data
is
Stopped
Link copied to clipboard
android
val
isStopped
:
Boolean
is
Used
Link copied to clipboard
android
@get:
RestrictTo
(
value
=
[
Scope.LIBRARY_GROUP
]
)
val
isUsed
:
Boolean
network
Link copied to clipboard
android
@get:
RequiresApi
(
value
=
28
)
val
network
:
@
Nullable
Network
?
run
Attempt
Count
Link copied to clipboard
android
@get:
IntRange
(
from
=
0
)
val
runAttemptCount
:
Int
stop
Reason
Link copied to clipboard
android
@get:
RequiresApi
(
value
=
31
)
val
stopReason
:
Int
tags
Link copied to clipboard
android
val
tags
:
@
NonNull
Set
<
String
?
>
task
Executor
Link copied to clipboard
android
@get:
RestrictTo
(
value
=
[
Scope.LIBRARY_GROUP
]
)
open
val
taskExecutor
:
@
NonNull
TaskExecutor
triggered
Content
Authorities
Link copied to clipboard
android
@get:
RequiresApi
(
value
=
24
)
val
triggeredContentAuthorities
:
@
NonNull
List
<
String
?
>
triggered
Content
Uris
Link copied to clipboard
android
@get:
RequiresApi
(
value
=
24
)
val
triggeredContentUris
:
@
NonNull
List
<
Uri
?
>
worker
Factory
Link copied to clipboard
android
@get:
RestrictTo
(
value
=
[
Scope.LIBRARY_GROUP
]
)
open
val
workerFactory
:
@
NonNull
WorkerFactory
Functions
do
Work
Link copied to clipboard
android
open
suspend override
fun
doWork
(
)
:
ListenableWorker.Result
get
Foreground
Info
Link copied to clipboard
android
open
suspend
fun
getForegroundInfo
(
)
:
ForegroundInfo
get
Foreground
Info
Async
Link copied to clipboard
android
override
fun
getForegroundInfoAsync
(
)
:
ListenableFuture
<
ForegroundInfo
>
on
Stopped
Link copied to clipboard
android
override
fun
onStopped
(
)
set
Foreground
Link copied to clipboard
android
suspend
fun
setForeground
(
foregroundInfo
:
ForegroundInfo
)
set
Foreground
Async
Link copied to clipboard
android
fun
setForegroundAsync
(
foregroundInfo
:
@
NonNull
ForegroundInfo
)
:
@
NonNull
ListenableFuture
<
Void
?
>
set
Progress
Link copied to clipboard
android
suspend
fun
setProgress
(
data
:
Data
)
set
Progress
Async
Link copied to clipboard
android
open
fun
setProgressAsync
(
data
:
@
NonNull
Data
)
:
@
NonNull
ListenableFuture
<
Void
?
>
set
Used
Link copied to clipboard
android
fun
setUsed
(
)
start
Work
Link copied to clipboard
android
override
fun
startWork
(
)
:
ListenableFuture
<
ListenableWorker.Result
>
stop
Link copied to clipboard
android
fun
stop
(
reason
:
Int
)