Retrieve notification - WIP
This commit is contained in:
parent
2247639a89
commit
d41f4fc954
16 changed files with 228 additions and 22 deletions
|
|
@ -25,4 +25,5 @@ android {
|
|||
dependencies {
|
||||
implementation(libs.androidx.corektx)
|
||||
implementation(libs.coroutines.core)
|
||||
implementation(projects.libraries.matrix.api)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,10 +16,15 @@
|
|||
|
||||
package io.element.android.libraries.push.api
|
||||
|
||||
import io.element.android.libraries.matrix.api.core.UserId
|
||||
|
||||
interface PushService {
|
||||
fun setCurrentRoom(roomId: String?)
|
||||
fun setCurrentThread(threadId: String?)
|
||||
fun notificationStyleChanged()
|
||||
|
||||
// Ensure pusher is registered
|
||||
suspend fun registerPusher(userId: UserId)
|
||||
|
||||
suspend fun testPush()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue