setWifiOnly

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.