Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.network

Package-level declarations

Types

Connectivity
Link copied to clipboard
interface Connectivity

Provides access to the current connectivity status of the device either synchronously through calling isConnected or by observing through connectionStatus.

CooldownHelper
Link copied to clipboard
class CooldownHelper

A helper class to keep track of a cooldown period based on errors occurring.

DeserializedNetworkCallback
Link copied to clipboard
typealias DeserializedNetworkCallback<T> = NetworkCallback<TealiumResult<NetworkHelper.HttpValue<T>>>
HttpMethod
Link copied to clipboard
data class HttpMethod(val value: String)

Simple data class to hold the Http Method name of an Http request.

HttpRequest
Link copied to clipboard
class HttpRequest

Represents the data for an HTTP request

HttpResponse
Link copied to clipboard
data class HttpResponse(val url: URL, val statusCode: Int, val message: String, val headers: Map<String, List<String>>, val body: ByteArray? = null)

Represents the response data for an HTTP response

Interceptor
Link copied to clipboard
interface Interceptor

Interface for intercepting network requests and responses.

NetworkCallback
Link copied to clipboard
typealias NetworkCallback<T> = Callback<T>
NetworkClient
Link copied to clipboard
interface NetworkClient

Utility class for making asynchronous Http requests.

NetworkException
Link copied to clipboard
sealed class NetworkException : TealiumIOException

Return type to signify that an error has occurred. The type returned indicates what type of error has occurred, and the isRetryable implementation will indicate if it is safe to retry the request.

NetworkHelper
Link copied to clipboard
interface NetworkHelper

Utility interface for making basic async network requests. For more complex requirements, use the NetworkClient instead.

NetworkResult
Link copied to clipboard
sealed class NetworkResult

Describes the available results of a network request.

NetworkUtilities
Link copied to clipboard
class NetworkUtilities(connectivity: Connectivity, val networkClient: NetworkClient, val networkHelper: NetworkHelper, logger: Logger) : Connectivity

Utility class to group networking utilities onto a single object for a given com.tealium.prism.core.Tealium instance

ResourceCache
Link copied to clipboard
interface ResourceCache<T : DataItemConvertible>

Utility class to automatically manage reading and writing resources from a DataStore as well as providing etag storage support.

ResourceRefresher
Link copied to clipboard
interface ResourceRefresher<T : DataItemConvertible>

A utility class to repeatedly fetch some resource

RetryPolicy
Link copied to clipboard
sealed class RetryPolicy

The RetryPolicy is used to determine if and when a network request can be retried.

Generated by Dokka
(c) Tealium 2026