setWifiOnly
Set whether to restrict dispatching to WiFi connections only. When enabled, dispatches will be blocked when only cellular connection is available.
Return
The builder instance for method chaining.
Parameters
wifiOnly
Whether to allow only WiFi connections. Default is false.