UserSessionWorkScheduler
internal interface UserSessionWorkScheduler : MessageSendingScheduler, UserConfigSyncScheduler, AudioNormalizedLoudnessScheduler
Inheritors
Functions
Link copied to clipboard
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
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
abstract fun scheduleBuildingAudioNormalizedLoudness(conversationId: <Error class: unknown class>, messageId: String)
Schedules an execution of AudioNormalizedLoudnessWorker, which attempts to build a normalized loudness for a given audio message. It's session scoped so the userId is implied from the scope.
Link copied to clipboard
Schedules a periodic execution of UserConfigSyncWorker that is responsible for syncing/refreshing user configurations:
Link copied to clipboard
Schedules an execution of PendingMessagesSenderWorker, which attempts to send all pending messages of this user.