cometchat_push_notifications_export library

Barrel export file for the CometChat Push Notifications plugin.

Import this file to access all public types provided by the plugin.

Classes

CometChatCallActionHandler
Handler for in-call control actions (mute, speaker, camera).
CometChatCallDetails
Structured call details extracted from a CometChat call payload.
CometChatCallEvent
A CometChat call event emitted on the CometChatPushNotifications.onCallEvent stream.
CometChatDefaultCallScreen
Default incoming call screen shown when no custom screen builder is provided.
CometChatNotificationConfig
Configuration for initializing CometChatPushNotifications.
CometChatNotificationDetails
Parsed notificationDetails from a CometChat push payload.
CometChatPushNotifications
The main entry point for CometChat push notification and VoIP call handling.
CometChatPushPayload
Represents a parsed CometChat push notification payload.

Enums

CometChatCallAction
Call action from the push payload.
CometChatCallEventType
Call event types emitted on the call event stream.
CometChatCallType
Call type (audio or video).
CometChatErrorCode
Error codes for CometChat notification operations.
CometChatPayloadType
The type of a CometChat push payload.
CometChatReceiverType
The type of receiver.
PushPlatform
Push platform type for token registration.

Typedefs

CometChatCallAcceptedCallback = void Function(CometChatCallDetails callDetails)
Callback invoked when the user accepts an incoming call from the default call screen.
CometChatCallDeclinedCallback = void Function(CometChatCallDetails callDetails)
Callback invoked when the user declines an incoming call from the default call screen.
CometChatCallScreenBuilder = Widget Function(CometChatCallDetails callDetails)
Builder for a custom call screen.

Exceptions / Errors

CometChatNotificationException
Exception thrown by the CometChat notifications plugin.