NotificationApi
Functions
Link copied to clipboard
abstract suspend fun acknowledgeEvents(clientId: String, markerId: String, eventAcknowledgeRequest: EventAcknowledgeRequest)
Link copied to clipboard
abstract suspend fun consumeLiveEvents(clientId: String, markerId: String): NetworkResponse<Flow<WebSocketEvent<ConsumableNotificationResponse>>>
Open a websocket connection to listen to live events.
Link copied to clipboard
abstract suspend fun getAllNotifications(querySize: Int, queryClient: String): NetworkResponse<NotificationResponse>
request Notifications from the beginning of time
Link copied to clipboard
Link copied to clipboard
abstract suspend fun listenToLiveEvents(clientId: String): NetworkResponse<Flow<WebSocketEvent<EventResponseToStore>>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun notificationsByBatch(querySize: Int, queryClient: String, querySince: String): NetworkResponse<NotificationResponse>
Link copied to clipboard