mindbox library

Classes

Configuration
The class represents the information for SDK initialization.
CopyPayloadInAppCallback
Handler for In-app actions that copies the payload to the clipboard. The CopyPayloadInAppCallback class provides a default implementation for handling in-app messages by copying the associated payload to the clipboard when the in-app message is tapped.
CustomInAppCallback
Handler for In-app actions that allows custom implementation for handling clicks and dismiss events. The CustomInAppCallback class provides a flexible way to implement custom handling for in-app clicks using the InAppClickHandler and dismiss events using the InAppDismissedHandler.
EmptyInAppCallback
Handler for In-app actions that performs no actions. The EmptyInAppCallback class provides a default implementation for handling in-app messages without performing any actions upon tapping or dismissing the in-app message
InAppCallback
Defines a handler for In-app actions
Mindbox
Basic Mindbox API.
UrlInAppCallback
Handler for In-app actions. It provides a default implementation for handling in-app messages by opening an associated URL when an in-app message is tapped.

Enums

LogLevel
SDK logging levels

Typedefs

InAppClickHandler = void Function(String id, String redirectUrl, String payload)
Defines a handler for In-app data
InAppDismissedHandler = void Function(String id)
Defines a handler for In-app dismiss

Exceptions / Errors

MindboxError
Mindbox error.
MindboxInternalError
Internal error.
MindboxNetworkError
Network error.
MindboxProtocolError
Request error/server error.
MindboxServerError
Error for code 5xx.
MindboxValidationError
Client error.