GetNotificationsUseCaseImpl
internal class GetNotificationsUseCaseImpl(connectionRepository: ConnectionRepository, messageRepository: MessageRepository, notificationEventsManager: NotificationEventsManager, incrementalSyncRepository: IncrementalSyncRepository, localNotificationMessageMapper: LocalNotificationMessageMapper = MapperProvider.localNotificationMessageMapper()) : GetNotificationsUseCase
Parameters
connectionRepository
connectionRepository for observing connectionRequests that user should be notified about
messageRepository
MessageRepository for getting Messages that user should be notified about
localNotificationMessageMapper
LocalNotificationMessageMapper for mapping PublicUser object into LocalNotificationMessageAuthor
Constructors
Link copied to clipboard
internal constructor(connectionRepository: ConnectionRepository, messageRepository: MessageRepository, notificationEventsManager: NotificationEventsManager, incrementalSyncRepository: IncrementalSyncRepository, localNotificationMessageMapper: LocalNotificationMessageMapper = MapperProvider.localNotificationMessageMapper())