brudcast_flutter library
The Brudcast SDK for Flutter: sessions, identity, events and the action handler, over the native Android and iOS SDKs.
Add brudcast_in_app for in-app messages and the inbox, and brudcast_push for push.
Classes
- BrudcastAction
- Something a message asked the app to do: open a deep link or a URL, or handle a custom event.
- BrudcastActionSource
- The message, and for in-app messages the button, an action came from.
- BrudcastEnvironment
- The Brudcast environment the SDK talks to.
- BrudcastModule
-
A feature module the SDK runs, such as in-app messaging or push. Add
BrudcastInApp.modulefrombrudcast_in_appandBrudcastPush.modulefrombrudcast_pushto BrudcastOptions.modules. - BrudcastOptions
-
Configuration passed to
Brudcast.initialize. - BrudcastSdk
- The Brudcast SDK. Use it through the Brudcast constant.
- BrudcastTraits
-
Optional traits sent with
identify. Brudcast uses them to fill a new contact; they never overwrite values a contact already has.
Enums
- BrudcastActionKind
- What an action asks the app to do.
- BrudcastActionOrigin
- Where an action came from.
- BrudcastActionResult
- What the action handler did with an action.
- BrudcastAppearance
- Which appearance in-app messages use.
- BrudcastLogLevel
- How much the SDK logs.
Constants
- brudcastFlutterVersion → const String
- The version of the Brudcast Flutter packages, which is also the version of the native SDKs they run.
Properties
- Brudcast → BrudcastSdk
-
The Brudcast SDK.
final
Typedefs
-
BrudcastActionHandler
= FutureOr<
BrudcastActionResult> Function(BrudcastAction action) - Decides what to do with an action before the default behaviour. It has two seconds to answer, after which the default runs.