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

NetworkResult

sealed class NetworkResult

Describes the available results of a network request.

See also

NetworkResult.Success
NetworkResult.Failure

Inheritors

Success
Failure

Types

Failure
Link copied to clipboard
class Failure(val networkException: NetworkException) : NetworkResult

Failure indicates that the network request was unsuccessful for the reason given by the returned networkException

Success
Link copied to clipboard
class Success(val httpResponse: HttpResponse) : NetworkResult

Success indicates a successful network request, returning the relevant HTTP response data.

Generated by Dokka
(c) Tealium 2026