# Class State (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.3 1.14.0 1.13.2 1.12.0 1.11.5 1.10.0 1.9.2 1.8.1 1.7.0 1.6.3 1.5.1 1.4.2 1.3.0 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    State(value)

State lists all the possible states of a Channel

        1. The SaaS provider disconnected from this
            Channel.
        2. The Channel activation token has expired but
            the SaaS provider    wasn't connected.

        To re-establish a Connection with a provider,
        the subscriber should create a new Channel and
        give it to the provider.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `STATE_UNSPECIFIED` | Default value. This value is unused. |
| `PENDING` | The PENDING state indicates that a Channel has been created successfully and there is a new activation token available for the subscriber to use to convey the Channel to the provider in order to create a Connection. |
| `ACTIVE` | The ACTIVE state indicates that a Channel has been successfully connected with the event provider. An ACTIVE Channel is ready to receive and route events from the event provider. |
| `INACTIVE` | The INACTIVE state indicates that the Channel cannot receive events permanently. There are two possible cases this state can happen: |