Edit in GitHubLog an issue

ContentCardMapper

Singleton class used to store a mapping between valid ContentCardSchemaData and unique proposition IDs. The schema data is used when sending proposition track requests to Adobe Journey Optimizer.

Class Definition

Copied to your clipboard
class ContentCardMapper private constructor() {
private val contentCardSchemaDataMap: MutableMap<String, ContentCardSchemaData> = HashMap()
companion object {
@JvmStatic
val instance: ContentCardMapper by lazy { ContentCardMapper() }
}
}

Methods

getContentCardSchemaData

Returns a ContentCardSchemaData object for the given proposition ID.

Parameters

  • propositionId - the proposition ID to use as a key in the ContentCardSchemaData map.

Returns

The ContentCardSchemaData for the given proposition ID, or null if not found.

Syntax

Copied to your clipboard
fun getContentCardSchemaData(propositionId: String): ContentCardSchemaData?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.