<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@soulmachines/smwebsdk](./smwebsdk.md) &gt; [ConnectionState](./smwebsdk.connectionstate.md) &gt; [getConnectionState](./smwebsdk.connectionstate.getconnectionstate.md)

## ConnectionState.getConnectionState() method

**Signature:**

```typescript
getConnectionState(): ConnectionStateData;
```
**Returns:**

[ConnectionStateData](./smwebsdk.connectionstatedata.md)

