Message queuing : expose sending queue status on matrix client.
This commit is contained in:
parent
431f7a4182
commit
41e5a6dd40
3 changed files with 21 additions and 4 deletions
|
|
@ -115,4 +115,10 @@ interface MatrixClient : Closeable {
|
|||
* connectivity is back on the device.
|
||||
*/
|
||||
suspend fun enableSendingQueue(enable: Boolean)
|
||||
|
||||
/**
|
||||
* Returns the current status of the sending queue as a [StateFlow].
|
||||
* If true, the sending queue is enabled.
|
||||
*/
|
||||
fun sendingQueueStatus(): StateFlow<Boolean>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue