create
Creates a new Tealium instance based on the provided config.
Typical usage in an app would keep the returned instance alive for as long as the app is alive. However, the returned Tealium should be shutdown by the user when no longer required by calling either it's Tealium.shutdown method or the Tealium.Companion.shutdown.
Return
The Tealium instance ready to accept input, although if the initialization fails, any method calls made to this object will also fail.
Parameters
The required configuration options for this instance.
Creates a new Tealium instance based on the provided config.
Typical usage in an app would keep the returned instance alive for as long as the app is alive. However, the returned Tealium should be shutdown by the user when no longer required by calling either it's Tealium.shutdown method or the Tealium.Companion.shutdown.
The onReady callback allows the caller to be notified once the instance is ready, or has failed during initialization alongside the cause of the failure.
Return
The Tealium instance ready to accept input, although if the initialization fails, any method calls made to this object will also fail.
Parameters
The required configuration options for this instance.