Sort provider by index
This commit is contained in:
parent
219b97eea7
commit
05a8ca0eec
4 changed files with 9 additions and 3 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue