MultiplayerTurnCheckWorker

class MultiplayerTurnCheckWorker(appContext: Context, workerParams: WorkerParameters) : Worker

Types

Companion
Link copied to clipboard
object Companion

Functions

doWork
Link copied to clipboard
open override fun doWork(): ListenableWorker.Result
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getApplicationContext
Link copied to clipboard
fun getApplicationContext(): Context
getBackgroundExecutor
Link copied to clipboard
open fun getBackgroundExecutor(): Executor
getId
Link copied to clipboard
fun getId(): UUID
getInputData
Link copied to clipboard
fun getInputData(): Data
getNetwork
Link copied to clipboard
@RequiresApi(value = 28)
fun getNetwork(): Network?
getRunAttemptCount
Link copied to clipboard
@IntRange(from = 0)
fun getRunAttemptCount(): Int
getStackTraceString
Link copied to clipboard
private fun getStackTraceString(ex: Exception): String
getTags
Link copied to clipboard
fun getTags(): MutableSet<String>
getTaskExecutor
Link copied to clipboard
open fun getTaskExecutor(): TaskExecutor
getTriggeredContentAuthorities
Link copied to clipboard
@RequiresApi(value = 24)
fun getTriggeredContentAuthorities(): MutableList<String>
getTriggeredContentUris
Link copied to clipboard
@RequiresApi(value = 24)
fun getTriggeredContentUris(): MutableList<Uri>
getWorkerFactory
Link copied to clipboard
open fun getWorkerFactory(): WorkerFactory
hashCode
Link copied to clipboard
open fun hashCode(): Int
isRunInForeground
Link copied to clipboard
open fun isRunInForeground(): Boolean
isStopped
Link copied to clipboard
fun isStopped(): Boolean
isUsed
Link copied to clipboard
fun isUsed(): Boolean
onStopped
Link copied to clipboard
open fun onStopped()
setForegroundAsync
Link copied to clipboard
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
setProgressAsync
Link copied to clipboard
open fun setProgressAsync(@NonNull data: Data): ListenableFuture<Void>
setUsed
Link copied to clipboard
fun setUsed()
showErrorNotification
Link copied to clipboard
private fun showErrorNotification(stackTraceString: String)
startWork
Link copied to clipboard
override fun startWork(): ListenableFuture<ListenableWorker.Result>
stop
Link copied to clipboard
fun stop()
toString
Link copied to clipboard
open fun toString(): String
updatePersistentNotification
Link copied to clipboard
private fun updatePersistentNotification(inputData: Data)

Properties

mAppContext
Link copied to clipboard
private val mAppContext: Context
mFuture
Link copied to clipboard
val mFuture: SettableFuture<ListenableWorker.Result>
mRunInForeground
Link copied to clipboard
private val mRunInForeground: Boolean
mStopped
Link copied to clipboard
private val mStopped: Boolean
mUsed
Link copied to clipboard
private val mUsed: Boolean
mWorkerParams
Link copied to clipboard
private val mWorkerParams: WorkerParameters

Sources

androidJvm source
Link copied to clipboard