-
- All Implemented Interfaces:
-
io.getstream.video.android.core.notifications.dispatchers.NotificationDispatcher
public final class DefaultNotificationDispatcher implements NotificationDispatcher
-
-
Field Summary
Fields Modifier and Type Field Description private final NotificationManagerCompatnotificationManager
-
Constructor Summary
Constructors Constructor Description DefaultNotificationDispatcher(NotificationManagerCompat notificationManager)
-
Method Summary
Modifier and Type Method Description final NotificationManagerCompatgetNotificationManager()Unitnotify(StreamCallId streamCallId, Integer id, Notification notification)-
-
Constructor Detail
-
DefaultNotificationDispatcher
DefaultNotificationDispatcher(NotificationManagerCompat notificationManager)
-
-
Method Detail
-
getNotificationManager
final NotificationManagerCompat getNotificationManager()
-
notify
@RequiresPermission(value = android.permission.POST_NOTIFICATIONS) Unit notify(StreamCallId streamCallId, Integer id, Notification notification)
- Parameters:
streamCallId- The unique identifier of the call this notification belongs to.id- The notification ID used by the system to post or update the notification.notification- The Notification instance to be displayed.
-
-
-
-