Notifications Worker

The NotificationsWorker class is useful to execute the periodicRequest

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull workerParams: WorkerParameters)
Constructor to init the NotificationsWorker class

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
Link copied to clipboard
fun getId(): UUID
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getTags(): Set<String>
Link copied to clipboard
open fun getTaskExecutor(): TaskExecutor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun isUsed(): Boolean
Link copied to clipboard
open fun onStopped()
Link copied to clipboard
fun setForegroundAsync(foregroundInfo: ForegroundInfo): ListenableFuture<Void>
Link copied to clipboard
open fun setProgressAsync(data: Data): ListenableFuture<Void>
Link copied to clipboard
fun setUsed()
Link copied to clipboard
fun startWork(): ListenableFuture<ListenableWorker.Result>
Link copied to clipboard
fun stop(reason: Int)