Edit in GitHubLog an issue

Swift

Copied to your clipboard
public var id: String

Swift

Copied to your clipboard
public var autoTrack: Bool = true

Swift

Copied to your clipboard
public var view: UIView? {
fullscreenMessage?.webView
}

Swift

Copied to your clipboard
public func show()

Swift

Copied to your clipboard
public func dismiss(suppressAutoTrack: Bool? = false)
Parameters
  • suppressAutoTrack - if set to true, the decisioning.propositionDismiss Edge Event will not be sent regardless of the autoTrack setting.

Swift

Copied to your clipboard
public func track(_ interaction: String?, withEdgeEventType eventType: MessagingEdgeEventType)
Parameters
  • interaction - a custom String value to be recorded in the interaction
  • eventType - the MessagingEdgeEventType to be used for the ensuing Edge Event

Swift

Copied to your clipboard
public func handleJavascriptMessage(_ name: String, withHandler handler: @escaping (Any?) -> Void)
Parameters
  • name - the name of the message that should be handled by handler
  • handler - the method or closure to be called with the body of the message created in the Message's JavaScript

Java

Copied to your clipboard
void dismiss(final boolean suppressAutoTrack)
Parameters
  • suppressAutoTrack - if set to true, the decisioning.propositionDismiss Edge Event will not be sent regardless of the autoTrack setting.

Java

Copied to your clipboard
void track(final String interaction, final MessagingEdgeEventType eventType)
Parameters
  • interaction - a custom String value to be recorded in the interaction
  • eventType - the MessagingEdgeEventType to be used for the ensuing Edge Event

Java

Copied to your clipboard
void show()

Java

Copied to your clipboard
WebView getWebView()

Java

Copied to your clipboard
void handleJavascriptMessage(final String name, final AdobeCallback<String> callback)
Parameters
  • name - the name of the message that should be handled by the callback
  • callback - a callback which will be called with the body of the message created in the Message's JavaScript

Java

Copied to your clipboard
void setAutoTrack(boolean enabled)
Parameters
  • enabled - if true, Experience Edge events will automatically be generated when this Message is triggered, displayed, or dismissed.

Java

Copied to your clipboard
void evaluateJavascript(final String content)
Parameters
  • content - a string containing the javascript code to be executed

Java

Copied to your clipboard
String getId()

Java

Copied to your clipboard
Object getParent()

Java

Copied to your clipboard
public enum MessagingEdgeEventType {
IN_APP_DISMISS(0),
IN_APP_INTERACT(1),
IN_APP_TRIGGER(2),
IN_APP_DISPLAY(3),
PUSH_APPLICATION_OPENED(4),
PUSH_CUSTOM_ACTION(5);
final int value;
MessagingEdgeEventType(final int value) {
this.value = value;
}
public int getValue() {
return value;
}
@Override
public String toString() {
switch (this) {
case IN_APP_DISMISS:
return MessagingConstants.EventDataKeys.Messaging.IAMDetailsDataKeys.EventType.DISMISS;
case IN_APP_INTERACT:
return MessagingConstants.EventDataKeys.Messaging.IAMDetailsDataKeys.EventType.INTERACT;
case IN_APP_TRIGGER:
return MessagingConstants.EventDataKeys.Messaging.IAMDetailsDataKeys.EventType.TRIGGER;
case IN_APP_DISPLAY:
return MessagingConstants.EventDataKeys.Messaging.IAMDetailsDataKeys.EventType.DISPLAY;
case PUSH_APPLICATION_OPENED:
return MessagingConstants.EventDataKeys.Messaging.PushNotificationDetailsDataKeys.EventType.OPENED;
case PUSH_CUSTOM_ACTION:
return MessagingConstants.EventDataKeys.Messaging.PushNotificationDetailsDataKeys.EventType.CUSTOM_ACTION;
default:
return super.toString();
}
}

Swift

Copied to your clipboard
@objc(AEPMessagingEdgeEventType)
public enum MessagingEdgeEventType: Int {
case inappDismiss = 0
case inappInteract = 1
case inappTrigger = 2
case inappDisplay = 3
case pushApplicationOpened = 4
case pushCustomAction = 5
public func toString() -> String {
switch self {
case .inappDismiss:
return MessagingConstants.XDM.IAM.EventType.DISMISS
case .inappTrigger:
return MessagingConstants.XDM.IAM.EventType.TRIGGER
case .inappInteract:
return MessagingConstants.XDM.IAM.EventType.INTERACT
case .inappDisplay:
return MessagingConstants.XDM.IAM.EventType.DISPLAY
case .pushCustomAction:
return MessagingConstants.XDM.Push.EventType.CUSTOM_ACTION
case .pushApplicationOpened:
return MessagingConstants.XDM.Push.EventType.APPLICATION_OPENED
}
}
}
CaseString value
IN_APP_DISMISS
decisioning.propositionDismiss
IN_APP_INTERACT
decisioning.propositionInteract
IN_APP_TRIGGER
decisioning.propositionTrigger
IN_APP_DISPLAY
decisioning.propositionDisplay
PUSH_APPLICATION_OPENED
pushTracking.applicationOpened
PUSH_CUSTOM_ACTION
pushTracking.customAction
CaseString value
inappDismiss
decisioning.propositionDismiss
inappInteract
decisioning.propositionInteract
inappTrigger
decisioning.propositionTrigger
inappDisplay
decisioning.propositionDisplay
pushApplicationOpened
pushTracking.applicationOpened
pushCustomAction
pushTracking.customAction
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.