PresenceManager

class PresenceManager(localDataSource: LocalDataSource, remoteDataSource: RemoteDataSource, localUserId: String) : PresenceRepository

Constructors

Link copied to clipboard
constructor(localDataSource: LocalDataSource, remoteDataSource: RemoteDataSource, localUserId: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getPresenceByAddress(address: String): Single<Presence>
Link copied to clipboard
open override fun getPresenceByUserId(id: String): Single<Presence>
Link copied to clipboard
open override fun getPresences(withoutAvatar: Boolean): Single<List<Presence>>
Link copied to clipboard
open override fun savePresence(presence: Presence)
Link copied to clipboard
open override fun subscribeById(userId: String): Single<Presence>
Link copied to clipboard
open override fun subscribeByUserIds(userIds: List<String>): Single<List<Presence>>
Link copied to clipboard
open override fun subscribeByUserUri(userUri: String): Single<Presence>
Link copied to clipboard
open override fun subscribeByUserUris(userUris: List<String>): Single<List<Presence>>
Link copied to clipboard
open override fun updatePresence(request: UpdatePresenceRequest): Single<Presence>