mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 03:06:14 +00:00
Push distributor: ensure the current UnifiedPush distributor is stored
This commit is contained in:
committed by
Benoit Marty
parent
56ca04affa
commit
d2fbff09b8
+5
@@ -24,6 +24,11 @@ interface PushService {
|
||||
// TODO Move away
|
||||
fun notificationStyleChanged()
|
||||
|
||||
/**
|
||||
* Return the current push provider, or null if none.
|
||||
*/
|
||||
suspend fun getCurrentPushProvider(): PushProvider?
|
||||
|
||||
/**
|
||||
* Return the list of push providers, available at compile time, and
|
||||
* available at runtime, sorted by index.
|
||||
|
||||
Reference in New Issue
Block a user