open_cdp_flutter_sdk
library
Classes
-
CDPInAppManager
-
Manages fetching, arbitration, display dispatch and tracking for in-app
messages. Designed to be initialized once per SDK instance.
-
CDPPushAction
-
A push action button delivered in the FCM
data.actions JSON string.
-
CustomerIoConfig
-
Customer.io configuration
-
InAppArbitrationState
-
Public-shape mirror of the private
_DeliveryState used so pure
arbitration filtering can be tested without standing up the full manager.
Marked @visibleForTesting because the production code never constructs
these directly — they're built from _deliveryState inside _arbitrate.
-
InAppConfig
-
-
InAppCta
-
A call-to-action button on an in-app message.
-
InAppManagerConfig
-
Configuration for the in-app delivery manager.
-
InAppMessage
-
A message returned by the in-app sync endpoint.
-
InAppPersistence
-
Persistence rules for an in-app message (max impressions, intervals, etc.).
-
OpenCDPConfig
-
Main configuration class for Open CDP SDK
-
OpenCDPPushPayload
-
Helpers for push notification v2 payloads (
custom_data, actions).
-
OpenCDPSDK
-
Main SDK class for Open CDP
-
PushConfig
-
-
PushConfigAndroid
-
Typedefs
-
InAppMessageListener
= void Function(InAppMessage message)
-
Listener invoked when a new in-app message is ready to be displayed by the
host app. The host is responsible for actually rendering it (modal, banner,
inline, inbox card, etc.) — the SDK only schedules and tracks it.