> 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.

# deviceRecovered$

> Observable that emits when the SDK auto-switches a device.

```ts
get deviceRecovered$(): Observable<DeviceRecoveryEvent>
```

Observable that emits when the SDK auto-switches a device.

Observable that emits when the SDK auto-switches a device due to
disconnect, reconnect, or recovery.

## **Examples**

```ts
client.deviceRecovered$.subscribe((deviceRecovered) => {
  console.log('deviceRecovered:', deviceRecovered);
});
```