Retrieve notification - WIP
This commit is contained in:
committed by
Benoit Marty
parent
2247639a89
commit
d41f4fc954
@@ -25,4 +25,5 @@ android {
|
||||
dependencies {
|
||||
implementation(libs.androidx.corektx)
|
||||
implementation(libs.coroutines.core)
|
||||
implementation(projects.libraries.matrix.api)
|
||||
}
|
||||
|
||||
+5
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user