Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Firebase Dispatcher for Android Reference
Tealium Prism Firebase Dispatcher/com.tealium.prism.firebase/FirebaseMappings

FirebaseMappings

class FirebaseMappings : CommandMappingsBuilder<FirebaseCommand, FirebaseDestination>

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

Constructors

FirebaseMappings
Link copied to clipboard
constructor()

Functions

build
Link copied to clipboard
open override fun build(): List<MappingOperation>
keep
Link copied to clipboard
fun keep(destination: FirebaseDestination): Mappings.VariableOptions
open override fun keep(path: JsonObjectPath): Mappings.VariableOptions
open override fun keep(key: String): Mappings.VariableOptions
mapCommand
Link copied to clipboard
fun mapCommand(command: FirebaseCommand): Mappings.CommandOptions
open override fun mapCommand(name: String): Mappings.CommandOptions
mapConstant
Link copied to clipboard
fun mapConstant(value: DataItem, destination: FirebaseDestination): Mappings.ConstantOptions
open override fun mapConstant(value: DataItem, destination: JsonObjectPath): Mappings.ConstantOptions
open override fun mapConstant(value: DataItem, destination: String): Mappings.ConstantOptions
mapFrom
Link copied to clipboard
fun mapFrom(path: JsonObjectPath, destination: FirebaseDestination): Mappings.VariableOptions
fun mapFrom(key: String, destination: FirebaseDestination): Mappings.VariableOptions
open override fun mapFrom(path: JsonObjectPath, destination: JsonObjectPath): Mappings.VariableOptions
open override fun mapFrom(path: JsonObjectPath, destination: String): Mappings.VariableOptions
open override fun mapFrom(key: String, destination: JsonObjectPath): Mappings.VariableOptions
open override fun mapFrom(key: String, destination: String): Mappings.VariableOptions
path
Link copied to clipboard
open override fun path(root: String): JsonObjectPath
Generated by Dokka
(c) Tealium 2026