notifications library
CometChat SDK — Notifications sub-package.
Contains all push notification models, enums, constants, and the CometChatNotifications entry point for managing notification preferences and registration.
Also includes the Notification Feed feature: models, builders, enums, and listeners for fetching and interacting with notification feed items.
import 'package:cometchat_sdk/notifications.dart';
For the full SDK surface, use:
import 'package:cometchat_sdk/cometchat_sdk.dart';
Android SDK reference: com.cometchat.chat.models.notificationpreferences
Classes
- CometChatNotificationErrorCode
- CometChatNotificationErrorMessages
- CometChatNotifications
- Provides notification management functionality for CometChat.
- DaySchedule
- GroupPreferences
- MutedConversation
- MutePreferences
- NotificationCategoriesRequest
- A request object for fetching notification categories.
- NotificationCategoriesRequestBuilder
-
Builder class for
NotificationCategoriesRequest. - NotificationCategory
- Represents a notification category used for filtering notification feed items.
- NotificationFeedItem
- Represents a notification feed item within the CometChat notification feed.
- NotificationFeedRequest
- A request object for fetching notification feed items.
- NotificationFeedRequestBuilder
-
Builder class for
NotificationFeedRequest. - NotificationPreferences
- OneOnOnePreferences
- PushNotification
- Represents a push notification payload for engagement tracking.
- ReactionEvent
- UnmutedConversation
Enums
- DayOfWeek
- DNDOptions
- FeedReadState
-
Type-safe enum for filtering feed items by read state in
NotificationFeedRequestBuilder.setReadState(). - MemberActionsOptions
- MessagesOptions
- MutedConversationType
- PushPlatforms
- ReactionsOptions
- RepliesOptions
Mixins
- NotificationFeedListener
- Listener for real-time notification feed events.