UnifiedPush WIP

This commit is contained in:
Benoit Marty 2023-04-11 11:19:44 +02:00 committed by Benoit Marty
parent 8f565edb0a
commit 287fca5438
33 changed files with 376 additions and 215 deletions

View file

@ -20,12 +20,9 @@ package io.element.android.libraries.pushstore.api
* Store data related to push about a user.
*/
interface UserPushStore {
/**
* [NOTIFICATION_METHOD_FIREBASE] or [NOTIFICATION_METHOD_UNIFIEDPUSH].
*/
suspend fun getNotificationMethod(): String?
suspend fun getPushProviderName(): String?
suspend fun setNotificationMethod(value: String)
suspend fun setPushProviderName(value: String)
suspend fun getCurrentRegisteredPushKey(): String?