Package-level declarations

Types

Link copied to clipboard
interface ActivityManager

Shared utility class for monitoring the current lifecycle state of a running application.

Link copied to clipboard
fun interface Callback<T>

Generic callback interface to use in places where a task's result will potentially be delivered asynchronously.

Link copied to clipboard
interface DateFormatter

A class for formatting Instant and Date objects into common String formats.

Link copied to clipboard

Utility object for consistent time and date formatting across the SDK.

Link copied to clipboard

Constants for the environments defined by a standard Tealium profile. Used predominantly to differentiate between settings that are not yet ready for a production app, and those which are.

Link copied to clipboard
interface QueueMetrics

A utility providing some basic insight into the number of queued events for each processor.

Link copied to clipboard
interface Scheduler

A queue to submit tasks to for asynchronous execution.

Link copied to clipboard
interface Schedulers
Link copied to clipboard
open class TealiumException(message: String? = null, cause: Throwable? = null) : RuntimeException

Base class for all Tealium custom exception implementations to inherit from

Link copied to clipboard
open class TealiumIOException(message: String? = null, cause: Throwable? = null) : TealiumException

Base Exception class for all failures relating to Input/Output operations.

Link copied to clipboard

Result class to support compatibility with Java

Link copied to clipboard

Utility object for injecting dynamic values into templates.

Link copied to clipboard
data class TimeFrame(val number: Long, val unit: TimeUnit) : Comparable<TimeFrame>

Class denoting a length of time that is easily convertible into any required time units.

Link copied to clipboard

Utility object for easily creating TimeFrame objects of different lengths and units.

Functions

Link copied to clipboard
inline fun <T> Callback<TealiumResult<T>>.failure(throwable: Throwable)

Completes this Callback with a TealiumResult failure.

Link copied to clipboard
inline fun <T> Callback<TealiumResult<T>>.success(value: T)

Completes this Callback with a successful TealiumResult.