Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
interface MatrixClient
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun MatrixClient.Companion.fromStore(repositoriesModule: Module, mediaStore: MediaStore, onSoftLogin: suspend () -> MatrixClient.SoftLoginInfo? = null, scope: CoroutineScope, configuration: MatrixClientConfiguration.() -> Unit = {}): Result<MatrixClient?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun MatrixClient.Companion.login(baseUrl: Url, identifier: IdentifierType, password: String? = null, token: String? = null, loginType: LoginType = LoginType.Password, deviceId: String? = null, initialDeviceDisplayName: String? = null, repositoriesModule: Module, mediaStore: MediaStore, scope: CoroutineScope, configuration: MatrixClientConfiguration.() -> Unit = {}): Result<MatrixClient>
Link copied to clipboard
suspend fun MatrixClient.Companion.loginWith(baseUrl: Url, repositoriesModule: Module, mediaStore: MediaStore, scope: CoroutineScope, getLoginInfo: suspend (MatrixClientServerApiClientImpl) -> Result<MatrixClient.LoginInfo>, configuration: MatrixClientConfiguration.() -> Unit = {}): Result<MatrixClient>
Link copied to clipboard
suspend fun StateFlow<SyncState>.retryInfiniteWhenSyncIs(syncState: SyncState, vararg moreSyncStates: SyncState, scheduleBase: Duration = 100.milliseconds, scheduleFactor: Double = 2.0, scheduleLimit: Duration = 5.minutes, onError: suspend (error: Throwable) -> Unit = {}, onCancel: suspend () -> Unit = {}, block: suspend () -> Unit)
Link copied to clipboard
Link copied to clipboard
suspend fun <T> StateFlow<SyncState>.retryWhenSyncIs(syncState: SyncState, vararg moreSyncStates: SyncState, scheduleBase: Duration = 100.milliseconds, scheduleFactor: Double = 2.0, scheduleLimit: Duration = 5.minutes, onError: suspend (error: Throwable) -> Unit = {}, onCancel: suspend () -> Unit = {}, block: suspend () -> T): T
Link copied to clipboard
suspend fun Url.serverDiscovery(httpClientFactory: (HttpClientConfig<*>.() -> Unit) -> HttpClient = { HttpClient(it) }): Result<Url>
suspend fun String.serverDiscovery(httpClientFactory: (HttpClientConfig<*>.() -> Unit) -> HttpClient = { HttpClient(it) }): Result<Url>
suspend fun UserId.serverDiscovery(httpClientFactory: (HttpClientConfig<*>.() -> Unit) -> HttpClient = { HttpClient(it) }): Result<Url>