> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# 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**

**`value`** `boolean`

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

---

## **Examples**

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