-
- All Implemented Interfaces:
-
io.getstream.android.push.permissions.NotificationPermissionHandler,io.getstream.video.android.core.notifications.StreamNotificationDispatcher,io.getstream.video.android.core.notifications.handlers.StreamNotificationHandler,io.getstream.video.android.core.notifications.handlers.StreamNotificationHandlerWithPayload,io.getstream.video.android.core.notifications.handlers.StreamNotificationProvider,io.getstream.video.android.core.notifications.handlers.StreamNotificationProviderWithPayload,io.getstream.video.android.core.notifications.handlers.StreamNotificationUpdatesProvider,io.getstream.video.android.core.notifications.handlers.StreamSettingUpCallNotificationProvider,io.getstream.video.android.core.notifications.medianotifications.MediaNotificationHandler
public interface NotificationHandler implements NotificationPermissionHandler, StreamNotificationHandler, StreamNotificationProvider, StreamNotificationUpdatesProvider, StreamNotificationDispatcher, MediaNotificationHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNotificationHandler.Companion
-
Method Summary
Modifier and Type Method Description abstract UnitgetNotificationUpdates(CoroutineScope coroutineScope, Call call, User localUser, Function1<Notification, Unit> onUpdate)Get subsequent updates to notifications. -
Methods inherited from class io.getstream.video.android.core.notifications.NotificationHandler
createMinimalMediaStyleNotification, getIncomingCallNotification, getMediaNotificationConfig, getMissedCallNotification, getOngoingCallNotification, getRingingCallNotification, getSettingUpCallNotification, getSettingUpCallNotification, getStreamNotificationDispatcher, onCallNotificationUpdate, onLiveCall, onMissedCall, onNotification, onPermissionDenied, onPermissionGranted, onPermissionRationale, onPermissionRequested, onRingingCall, updateIncomingCallNotification, updateOngoingCallNotification, updateOutgoingCallNotification -
Methods inherited from class io.getstream.video.android.core.notifications.handlers.StreamNotificationHandler
onLiveCall, onMissedCall, onNotification, onRingingCall -
Methods inherited from class io.getstream.video.android.core.notifications.handlers.StreamNotificationProvider
getIncomingCallNotification, getMissedCallNotification, getOngoingCallNotification, getRingingCallNotification -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getNotificationUpdates
@Deprecated(level = DeprecationLevel.ERROR, message = This method is deprecated. Use the getNotificationUpdates method in the NotificationHandler interface instead., replaceWith = @ReplaceWith(imports = {}, expression = onCallNotificationUpdate(coroutineScope, call, localUser))) abstract Unit getNotificationUpdates(CoroutineScope coroutineScope, Call call, User localUser, Function1<Notification, Unit> onUpdate)
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.
-
-
-
-