-
public interface AppDNAInAppMessageDelegateIn-app message lifecycle + show veto.
-
-
Method Summary
Modifier and Type Method Description UnitonMessageShown(String messageId, String trigger)Message shown with its trigger event (native emits this; SPEC-070-C §3.10). UnitonMessagePresented(String messageId)DEPRECATED (1.0.5) — native never emitted this; use onMessageShown. UnitonMessageAction(String messageId, String action, Map<String, Object> data)Message action tapped. UnitonMessageDismissed(String messageId)BooleanshouldShowMessage(String messageId)Veto. -
-
Method Detail
-
onMessageShown
Unit onMessageShown(String messageId, String trigger)
Message shown with its trigger event (native emits this; SPEC-070-C §3.10).
-
onMessagePresented
@Deprecated(message = Use onMessageShown instead., replaceWith = @ReplaceWith(imports = {}, expression = onMessageShown)) Unit onMessagePresented(String messageId)
DEPRECATED (1.0.5) — native never emitted this; use onMessageShown. Non-breaking forwarding shim.
-
onMessageAction
Unit onMessageAction(String messageId, String action, Map<String, Object> data)
Message action tapped. data = optional action payload map (native emits this; SPEC-070-C §3.10).
-
onMessageDismissed
Unit onMessageDismissed(String messageId)
-
shouldShowMessage
Boolean shouldShowMessage(String messageId)
Veto. Return false to suppress display.
-
-
-
-