NetworkUtilities
Utility class to group networking utilities onto a single object for a given com.tealium.prism.core.Tealium instance
The shared networkClient and networkHelper make a single attempt per request. To retry failed requests, derive a client with NetworkClient.newClient, adding RequestInterceptors.retryWithBackoff and/or RequestInterceptors.retryWhenConnected, and wrap it with NetworkClient.makeNetworkHelper for the NetworkHelper API.
Parameters
The connectivity provider
The shared NetworkClient for this instance; it makes a single attempt per request
The shared NetworkHelper for this instance; it makes a single attempt per request
Constructors
Properties
Functions
Utility to return the capability of the current active network.
Signifies whether the device has a network available for making outbound connections.
Creates a ResourceCache
Creates a ResourceRefresher that will regularly fetch updated values from a remote source as specified in the given parameters.
Creates a ResourceRefresher that will regularly fetch updated values from a remote source as specified in the given parameters, through the given networkHelper.