Package-level declarations

Types

Link copied to clipboard

Use Case that allows a user accept a connection request to connect with another User

Link copied to clipboard
internal class AcceptConnectionRequestUseCaseImpl(connectionRepository: ConnectionRepository, conversationRepository: ConversationRepository, oneOnOneResolver: OneOnOneResolver, newGroupConversationSystemMessagesCreator: NewGroupConversationSystemMessagesCreator) : AcceptConnectionRequestUseCase
Link copied to clipboard
sealed class BlockUserResult
Link copied to clipboard
fun interface BlockUserUseCase

Use Case that allows a user to block user

Link copied to clipboard
internal class BlockUserUseCaseImpl(connectionRepository: ConnectionRepository) : BlockUserUseCase
Link copied to clipboard

Use Case that allows a user to cancel a ConnectionState.PENDING connection request to connect with another user before it's ConnectionState.ACCEPTED

Link copied to clipboard
class ConnectionScope(connectionRepository: ConnectionRepository, conversationRepository: ConversationRepository, userRepository: UserRepository, oneOnOneResolver: OneOnOneResolver, newGroupConversationSystemMessagesCreator: NewGroupConversationSystemMessagesCreator)
Link copied to clipboard

Use Case that allows a user to ignore a connection request from given user

Link copied to clipboard

Use Case that listen to any user connection changes

Link copied to clipboard

Use Case that lists the current pending connection requests.

Link copied to clipboard
Link copied to clipboard

Use Case that allows a user send a connection request to connect with another User

Link copied to clipboard
Link copied to clipboard
internal interface SyncConnectionsUseCase
Link copied to clipboard
Link copied to clipboard
sealed class UnblockUserResult
Link copied to clipboard
fun interface UnblockUserUseCase

Use Case that allows the current self user to unblock another previously blocked user

Link copied to clipboard
internal class UnblockUserUseCaseImpl(connectionRepository: ConnectionRepository) : UnblockUserUseCase