Edit in GitHubLog an issue

Swift

Syntax

Copied to your clipboard
func generateInteractionXdm(_ interaction: String? = nil, withEdgeEventType eventType: MessagingEdgeEventType, forTokens tokens: [String]? = nil) -> [String: Any]?
  • interaction is a custom string value describing the interaction.
  • eventType is an enum specifying event type for the interaction.
  • tokens is an array containing the decision item tokens for recording interaction.

Swift

Syntax

Copied to your clipboard
func track(_ interaction: String? = nil, withEdgeEventType eventType: MessagingEdgeEventType, forTokens tokens: [String]? = nil)
  • interaction is a custom string value describing the interaction.
  • eventType is an enum specifying event type for the interaction.
  • tokens is an array containing the decision item tokens for recording interaction.

Java

Syntax

Copied to your clipboard
public ContentCardSchemaData getContentCardSchemaData()

Java

Syntax

Copied to your clipboard
public InAppSchemaData getInAppSchemaData()

Java

Syntax

Copied to your clipboard
public String getItemId()

Java

Syntax

Copied to your clipboard
public Map<String, Object> getItemData()

Java

Syntax

Copied to your clipboard
public SchemaType getSchema()

Java

Syntax

Copied to your clipboard
public String getHtmlContent()

Java

Syntax

Copied to your clipboard
public Map<String, Object> getJsonContentMap()

Java

Syntax

Copied to your clipboard
public List<Map<String, Object>> getJsonContentArrayList()

Java

Syntax

Copied to your clipboard
public Map<String, Object> generateInteractionXdm(@NonNull final MessagingEdgeEventType eventType)
  • eventType is an enum specifying event type for the interaction.

Java

Syntax

Copied to your clipboard
public Map<String, Object> generateInteractionXdm(final String interaction, @NonNull final MessagingEdgeEventType eventType, final List<String> tokens)
  • interaction is a custom string value describing the interaction.
  • eventType is an enum specifying event type for the interaction.
  • tokens is a list containing the decision item tokens for recording interaction.

Java

Syntax

Copied to your clipboard
public void track(@NonNull final MessagingEdgeEventType eventType)
  • eventType is an enum specifying event type for the interaction.

Java

Syntax

Copied to your clipboard
public void track(final String interaction, @NonNull final MessagingEdgeEventType eventType, final List<String> tokens)
  • interaction is a custom string value describing the interaction.
  • eventType is an enum specifying event type for the interaction.
  • tokens is a list containing the decision item tokens for recording interaction.
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.