InsiderCallbackAction class

Callback action identifiers emitted to the function passed to FlutterInsider.init.

The callback receives the integer action type as its first argument and a data payload as its second; switch on these constants to handle each kind.

Constructors

InsiderCallbackAction()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

INAPP_BUTTON_CLICK → const int
User tapped a button inside an in-app message. Payload contains the button data.
INAPP_SEEN → const int
In-app message was rendered to the user.
NOTIFICATION_OPEN → const int
User opened a push notification. Payload contains the notification data.
SESSION_STARTED → const int
A new Insider session has started.
TEMP_STORE_ADDED_TO_CART → const int
Temp store: user added an item to the cart from an in-app surface.
TEMP_STORE_CUSTOM_ACTION → const int
Temp store: a custom action defined in the campaign was triggered.
TEMP_STORE_PURCHASE → const int
Temp store: user completed a purchase from an in-app surface.