From 6e07c0fc265be827cde06875acb1f13fd0773207 Mon Sep 17 00:00:00 2001 From: Liviu Timar <65943217+liviu-timar@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:40:29 +0300 Subject: [PATCH] Add KDocs to getNotificationUpdates --- .../android/core/notifications/NotificationHandler.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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,