Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.settings.barriers/ConnectivityBarrierSettingsBuilder/setWifiOnly

setWifiOnly

fun setWifiOnly(wifiOnly: Boolean): ConnectivityBarrierSettingsBuilder

Set whether to hold dispatching back while the device is known to be on a cellular connection. Wi-Fi, Ethernet and connections of unknown type are allowed.

Return

The builder instance for method chaining.

Parameters

wifiOnly

Whether to avoid cellular connections. Default is false.

Generated by Dokka
(c) Tealium 2026