Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface DeviceApiClient
Link copied to clipboard
Link copied to clipboard
interface KeyApiClient
Link copied to clipboard
Link copied to clipboard
data class LogoutInfo(val isSoft: Boolean, val isLocked: Boolean)
Link copied to clipboard
interface MatrixAuthProvider : AuthProvider
Link copied to clipboard
class MatrixClientServerApiBaseClient(val baseUrl: Url? = null, authProvider: MatrixAuthProvider = MatrixAuthProvider.classicInMemory(), onLogout: suspend (LogoutInfo) -> Unit = { }, eventContentSerializerMappings: EventContentSerializerMappings = DefaultEventContentSerializerMappings, json: Json = createMatrixEventJson(eventContentSerializerMappings), httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null) : MatrixApiClient
Link copied to clipboard
class MatrixClientServerApiClientImpl(baseUrl: Url? = null, authProvider: MatrixAuthProvider = MatrixAuthProvider.classicInMemory(), onLogout: suspend (LogoutInfo) -> Unit = { }, val eventContentSerializerMappings: EventContentSerializerMappings = DefaultEventContentSerializerMappings, val json: Json = createMatrixEventJson(eventContentSerializerMappings), syncBatchTokenStore: SyncBatchTokenStore = SyncBatchTokenStore.inMemory(), syncLoopDelay: Duration = 2.seconds, syncLoopErrorDelay: Duration = 5.seconds, syncCoroutineScope: CoroutineScope? = null, httpClientEngine: HttpClientEngine? = null, httpClientConfig: HttpClientConfig<*>.() -> Unit? = null) : MatrixClientServerApiClient
Link copied to clipboard
interface MediaApiClient
Link copied to clipboard
interface PushApiClient
Link copied to clipboard
interface RoomApiClient
Link copied to clipboard
class RoomApiClientImpl(baseClient: MatrixClientServerApiBaseClient, val contentMappings: EventContentSerializerMappings) : RoomApiClient
Link copied to clipboard
interface ServerApiClient
Link copied to clipboard
interface SyncApiClient : ClientEventEmitter<SyncEvents>
Link copied to clipboard
class SyncApiClientImpl(baseClient: MatrixClientServerApiBaseClient, syncCoroutineScope: CoroutineScope, syncBatchTokenStore: SyncBatchTokenStore, syncLoopDelay: Duration, syncLoopErrorDelay: Duration) : ClientEventEmitterImpl<SyncEvents> , SyncApiClient
Link copied to clipboard
Link copied to clipboard
class SyncEvents(val syncResponse: Sync.Response, allEvents: List<ClientEvent<*>>, epoch: Long? = null) : List<ClientEvent<*>>
Link copied to clipboard
Link copied to clipboard
sealed interface UIA<T>
Link copied to clipboard
interface UserApiClient
Link copied to clipboard
class UserApiClientImpl(baseClient: MatrixClientServerApiBaseClient, val contentMappings: EventContentSerializerMappings) : UserApiClient

Properties

Link copied to clipboard
val ConvertMediaPlugin: ClientPlugin<Unit>

Functions

Link copied to clipboard
fun MatrixAuthProvider.Companion.classicInMemory(accessToken: String? = null, refreshToken: String? = null): ClassicMatrixAuthProvider
Link copied to clipboard
inline suspend fun <C : GlobalAccountDataEventContent> UserApiClient.getAccountData(userId: UserId, key: String = "", asUserId: UserId? = null): Result<C>
inline suspend fun <C : RoomAccountDataEventContent> RoomApiClient.getAccountData(roomId: RoomId, userId: UserId, key: String = "", asUserId: UserId? = null): Result<C>
Link copied to clipboard
inline suspend fun <C : MessageEventContent> RoomApiClient.getRelationsByType(roomId: RoomId, eventId: EventId, relationType: RelationType, from: String? = null, to: String? = null, limit: Long? = null, asUserId: UserId? = null): Result<GetRelationsResponse>
Link copied to clipboard
inline suspend fun <C : StateEventContent> RoomApiClient.getStateEvent(roomId: RoomId, stateKey: String = "", asUserId: UserId? = null): Result<C>
Link copied to clipboard
suspend fun <T> UIA<T>.injectOnSuccessIntoUIA(onSuccessCallback: suspend () -> Unit = {}): UIA<T>
Link copied to clipboard
suspend fun SyncApiClient.startOnce(filter: String? = null, setPresence: Presence? = null, timeout: Duration = ZERO): Result<Unit>