getNotificationUpdates

abstract fun getNotificationUpdates(coroutineScope: CoroutineScope, call: Call, localUser: User, onUpdate: (Notification) -> Unit)

Deprecated (with error)

This method is deprecated. Use the getNotificationUpdates method in the NotificationHandler interface instead.

Replace with

onCallNotificationUpdate(coroutineScope, call, localUser)

Get subsequent updates to notifications. Initially, notifications are posted by one of the other methods, and then this method can be used to re-post them with updated content.

Parameters

coroutineScope

Coroutine scope used for the updates.

call

The Stream call object.

localUser

The local Stream user.

onUpdate

Callback to be called when the notification is updated.