DataSources
Reference guide for DataSources class and methods provided by Tealium for Android.
Class: DataSources
The following summarizes the commonly used methods of the DataSources
class.
Method | Description |
---|---|
getPersistentDataSources() |
Get the persistent data sources |
getVolatileDataSources() |
Get the volatile data sources |
getVisitorId() |
Get the visitor ID generated by the Tealium library |
getPersistentDataSources()
Get the persistent data sources. Persistent data values are stored on the device as SharedPreferences and are merged into each event and preserved between launches of the app.
getPersistentDataSources();
Returns | Return Type |
---|---|
Persistent data sources | SharedPreferences |
getVolatileDataSources()
Get the volatile data sources. Volatile data values are merged into to each event, but discarded upon closing the app and restarting.
getVolatileDataSources();
Returns | Return Type |
---|---|
Volatile data sources | Map |
getVisitorId()
Get the visitor ID generated by the Tealium library.
getVisitorId();
Returns | Return Type |
---|---|
Visitor ID | String |
This page was last updated: January 7, 2023