Create a LoggedInNode, used as a PermanentNode in LoggedInFlowNode
This commit is contained in:
parent
b982d24bab
commit
6e4b1cd958
7 changed files with 85 additions and 46 deletions
|
|
@ -16,15 +16,19 @@
|
|||
|
||||
package io.element.android.libraries.push.api
|
||||
|
||||
import io.element.android.libraries.matrix.api.core.UserId
|
||||
import io.element.android.libraries.matrix.api.MatrixClient
|
||||
|
||||
interface PushService {
|
||||
// TODO EAx remove
|
||||
fun setCurrentRoom(roomId: String?)
|
||||
|
||||
// TODO EAx remove
|
||||
fun setCurrentThread(threadId: String?)
|
||||
|
||||
fun notificationStyleChanged()
|
||||
|
||||
// Ensure pusher is registered
|
||||
suspend fun registerPusher(userId: UserId)
|
||||
suspend fun registerPusher(matrixClient: MatrixClient)
|
||||
|
||||
suspend fun testPush()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue