<!-- 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)

## ConnectionState class

Determines and stores Connection State.

**Signature:**

```typescript
export declare class ConnectionState 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)()](./smwebsdk.connectionstate._constructor_.md) |  | Constructs a new instance of the <code>ConnectionState</code> class |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [onConnectionStateUpdated](./smwebsdk.connectionstate.onconnectionstateupdated.md) | <code>readonly</code> | [SmEvent](./smwebsdk.smevent.md) |  |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [getConnectionState()](./smwebsdk.connectionstate.getconnectionstate.md) |  |  |
|  [reset()](./smwebsdk.connectionstate.reset.md) |  |  |
|  [setConnectionState(connectionStateType)](./smwebsdk.connectionstate.setconnectionstate.md) |  |  |

