> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# enableNetworkChangeDetection

> Whether browser network change detection (online/offline) is enabled.

```ts
get enableNetworkChangeDetection(): boolean
set enableNetworkChangeDetection(value): void
```

Whether browser network change detection (online/offline) is enabled.

## **Parameters**

If `true`, the SDK reacts to network-change events (e.g. Wi-Fi/cellular switch).

## **Examples**

```ts
console.log(client.preferences.enableNetworkChangeDetection);
```