UserSessionWorkSchedulerImpl

Constructors

Link copied to clipboard
constructor(appContext: <Error class: unknown class>, scope: UserSessionScope)
constructor(scope: <Error class: unknown class>)
constructor(scope: UserSessionScope)

Properties

Link copied to clipboard
actual open override val scope: UserSessionScope
actual open val scope: UserSessionScope
expect open override val scope: UserSessionScope
actual open override val scope: UserSessionScope
Link copied to clipboard
val userId: <Error class: unknown class>

Functions

Link copied to clipboard
actual open override fun cancelScheduledSendingOfPendingMessages()

Cancels the scheduled execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user, because the account has been logged out for instance.

expect open override fun cancelScheduledSendingOfPendingMessages()

Cancels the scheduled execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user, because the account has been logged out for instance.

actual open override fun cancelScheduledSendingOfPendingMessages()

Cancels the scheduled execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user, because the account has been logged out for instance.

Link copied to clipboard
actual open override fun resetBackoffForPeriodicUserConfigSync()

Resets the backoff for the enqueued UserConfigSyncWorker if it's already waiting to be retried, so that it can be done instantly.

expect open override fun resetBackoffForPeriodicUserConfigSync()

Resets the backoff for the enqueued UserConfigSyncWorker if it's already waiting to be retried, so that it can be done instantly.

actual open override fun resetBackoffForPeriodicUserConfigSync()

Resets the backoff for the enqueued UserConfigSyncWorker if it's already waiting to be retried, so that it can be done instantly.

Link copied to clipboard
actual open override fun schedulePeriodicUserConfigSync()

Schedules a periodic execution of UserConfigSyncWorker that is responsible for syncing/refreshing user configurations:

expect open override fun schedulePeriodicUserConfigSync()

Schedules a periodic execution of UserConfigSyncWorker that is responsible for syncing/refreshing user configurations:

actual open override fun schedulePeriodicUserConfigSync()

Schedules a periodic execution of UserConfigSyncWorker that is responsible for syncing/refreshing user configurations:

Link copied to clipboard
actual open override fun scheduleSendingOfPendingMessages()

Schedules an execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user.

expect open override fun scheduleSendingOfPendingMessages()

Schedules an execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user.

actual open override fun scheduleSendingOfPendingMessages()

Schedules an execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user.