mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Sort provider by index
This commit is contained in:
committed by
Benoit Marty
parent
7333995630
commit
21a07fda07
+4
@@ -22,6 +22,10 @@ import io.element.android.libraries.matrix.api.MatrixClient
|
||||
* This is the main API for this module
|
||||
*/
|
||||
interface PushProvider {
|
||||
/**
|
||||
* Allow to sort provider, from lower index to higher index
|
||||
*/
|
||||
val index: Int
|
||||
fun getDistributorNames(): List<String>
|
||||
suspend fun registerWith(matrixClient: MatrixClient, distributorName: String)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user