Update PushProvider API, remove isAvailable(), but instead rely on getDistributors() to eventually return an empty list of Distributors.
This commit is contained in:
parent
1f8b525548
commit
f72fc36de8
8 changed files with 18 additions and 44 deletions
|
|
@ -29,8 +29,7 @@ interface PushService {
|
|||
suspend fun getCurrentPushProvider(): PushProvider?
|
||||
|
||||
/**
|
||||
* Return the list of push providers, available at compile time, and
|
||||
* available at runtime, sorted by index.
|
||||
* Return the list of push providers, available at compile time, sorted by index.
|
||||
*/
|
||||
fun getAvailablePushProviders(): List<PushProvider>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue