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

Connectivity

interface Connectivity

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

Inheritors

NetworkUtilities

Types

ConnectivityType
Link copied to clipboard
enum ConnectivityType : Enum<Connectivity.ConnectivityType>

This class defines the possible network connectivity types.

Status
Link copied to clipboard
sealed class Status

This class defines the possible statuses of device connectivity.

Properties

connectionStatus
Link copied to clipboard
abstract val connectionStatus: ObservableState<Connectivity.Status>

Observable flow of connectivity statuses, enabling reactivity to network status changes

Functions

connectionType
Link copied to clipboard
abstract fun connectionType(): Connectivity.ConnectivityType

Utility to return the capability of the current active network.

isConnected
Link copied to clipboard
abstract fun isConnected(): Boolean

Signifies whether the device has a network available for making outbound connections.

Generated by Dokka
(c) Tealium 2026