diff --git a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt index 5c6f9f792a..5926298082 100644 --- a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt +++ b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/notifications/NotificationHandler.kt @@ -42,6 +42,16 @@ public interface NotificationHandler : NotificationPermissionHandler { shouldHaveContentIntent: Boolean = true, ): Notification? fun getSettingUpCallNotification(): Notification? + + /** + * 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. + * + * @param coroutineScope Coroutine scope used for the updates. + * @param call The Stream call object. + * @param localUser The local Stream user. + * @param onUpdate Callback to be called when the notification is updated. + */ fun getNotificationUpdates( coroutineScope: CoroutineScope, call: Call,