# OTSessionConnectionStatus Constants Reference

Declared in | OTSession.h

### OTSessionConnectionStatus

The connection status codes, available through [OTSession sessionConnectionStatus].

#### Definition

`typedef NS_ENUM(int32_t, OTSessionConnectionStatus ) {
OTSessionConnectionStatusNotConnected,
OTSessionConnectionStatusConnected,
OTSessionConnectionStatusConnecting,
OTSessionConnectionStatusReconnecting,
OTSessionConnectionStatusDisconnecting,
OTSessionConnectionStatusFailed,
};`

#### Constants

`OTSessionConnectionStatusNotConnected`

  The session is not connected.

  Declared In `OTSession.h`.

`OTSessionConnectionStatusConnected`

  The session is connected.

  Declared In `OTSession.h`.

`OTSessionConnectionStatusConnecting`

  The session is connecting.

  Declared In `OTSession.h`.

`OTSessionConnectionStatusReconnecting`

  The session is reconnecting.

  Declared In `OTSession.h`.

`OTSessionConnectionStatusDisconnecting`

  The session is disconnecting.

  Declared In `OTSession.h`.

`OTSessionConnectionStatusFailed`

  The session has experienced a fatal error.

  Declared In `OTSession.h`.

#### Declared In

`OTSession.h`