Firebase Mappings
Concrete Firebase mappings builder combining FirebaseCommand and FirebaseDestination.
Used with FirebaseSettingsBuilder.setMappings(…) to configure Firebase-specific data mappings with type-safe enums.
Modules.firebase {
it.setMappings {
mapCommand(FirebaseCommand.LOG_EVENT)
mapFrom("tealium_event", FirebaseDestination.EventName)
mapFrom("total", FirebaseDestination.EventParam(FirebaseAnalytics.Param.VALUE))
mapFrom("product_ids", FirebaseDestination.ItemParam(FirebaseAnalytics.Param.ITEM_ID))
}
}Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open override fun mapConstant(value: DataItem, destination: JsonObjectPath): Mappings.ConstantOptions
Link copied to clipboard
open override fun mapFrom(path: JsonObjectPath, destination: JsonObjectPath): Mappings.VariableOptions