NotificationApiV13
internal open class NotificationApiV13(authenticatedNetworkClient: AuthenticatedNetworkClient, authenticatedWebSocketClient: AuthenticatedWebSocketClient, serverLinks: ServerConfigDTO.Links) : NotificationApiV12
Inheritors
Constructors
Link copied to clipboard
internal constructor(authenticatedNetworkClient: AuthenticatedNetworkClient, authenticatedWebSocketClient: AuthenticatedWebSocketClient, serverLinks: ServerConfigDTO.Links)
Functions
Link copied to clipboard
open suspend override fun acknowledgeEvents(clientId: String, markerId: String, eventAcknowledgeRequest: EventAcknowledgeRequest)
Link copied to clipboard
open suspend override fun consumeLiveEvents(clientId: String, markerId: String): NetworkResponse<Flow<WebSocketEvent<ConsumableNotificationResponse>>>
Open a websocket connection to listen to live events.
Link copied to clipboard
open suspend override fun getAllNotifications(querySize: Int, queryClient: String): NetworkResponse<NotificationResponse>
request Notifications from the beginning of time
Link copied to clipboard
Link copied to clipboard
open suspend override fun listenToLiveEvents(clientId: String): NetworkResponse<Flow<WebSocketEvent<EventResponseToStore>>>
Link copied to clipboard
open suspend override fun mostRecentNotification(queryClient: String): NetworkResponse<EventResponse>
Link copied to clipboard
open suspend override fun notificationsByBatch(querySize: Int, queryClient: String, querySince: String): NetworkResponse<NotificationResponse>
Link copied to clipboard
open suspend override fun oldestNotification(queryClient: String): NetworkResponse<EventResponseToStore>