AppDNAInAppMessageDelegate class abstract

In-app message lifecycle + show veto.

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
onMessageAction(String messageId, String action, Map<String, dynamic>? data) → void
Message action tapped. data = optional action payload map (native emits this).
onMessageDismissed(String messageId) → void
onMessagePresented(String messageId) → void
DEPRECATED (1.0.5) — native never emitted this; use onMessageShown. Non-breaking forwarding shim.
onMessageShown(String messageId, String trigger) → void
Message shown with its trigger event (native emits this).
shouldShowMessage(String messageId) → bool
Veto. Return false to suppress display.
toString() → String
A string representation of this object.
inherited

Operators

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