Enumeration that defines the state of a StreamLink connection.
The ConnectionState
will be provided by calling getConnectionState
on a caplin.streamlink.ConnectionStatusEvent.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.ConnectionState()
|
Attributes | Name and Description |
---|---|
<static>
|
caplin.streamlink.ConnectionState.CONNECTED
A network connection has been established to the Liberator. |
<static>
|
caplin.streamlink.ConnectionState.CONNECTING
A connection attempt is in progress. |
<static>
|
caplin.streamlink.ConnectionState.DISCONNECTED
Disconnected from the Liberator. |
<static>
|
caplin.streamlink.ConnectionState.EJECTED
The client has been ejected from the Liberator. |
<static>
|
caplin.streamlink.ConnectionState.FAILED
A connection attempt has failed. |
<static>
|
caplin.streamlink.ConnectionState.LOGGEDIN
The client is now logged into the server. |
<static>
|
caplin.streamlink.ConnectionState.LOGINFAILED
The client could not login to the Liberator. |
<static>
|
caplin.streamlink.ConnectionState.LOST
Connection to the Liberator has been lost. |
<static>
|
caplin.streamlink.ConnectionState.RECONNECTED
Connection to the Liberator has been re-established. |
<static>
|
caplin.streamlink.ConnectionState.UNREACHABLE
Connection to the Liberator is not possible. |
►
caplin.streamlink.ConnectionState()
►
<static>
caplin.streamlink.ConnectionState.CONNECTED
A network connection has been established to the Liberator.
►
<static>
caplin.streamlink.ConnectionState.CONNECTING
A connection attempt is in progress.
►
<static>
caplin.streamlink.ConnectionState.DISCONNECTED
Disconnected from the Liberator.
►
<static>
caplin.streamlink.ConnectionState.EJECTED
The client has been ejected from the Liberator.
►
<static>
caplin.streamlink.ConnectionState.FAILED
A connection attempt has failed.
►
<static>
caplin.streamlink.ConnectionState.LOGGEDIN
The client is now logged into the server.
►
<static>
caplin.streamlink.ConnectionState.LOGINFAILED
The client could not login to the Liberator.
►
<static>
caplin.streamlink.ConnectionState.LOST
Connection to the Liberator has been lost. The API will attempt to reconnect.
►
<static>
caplin.streamlink.ConnectionState.RECONNECTED
Connection to the Liberator has been re-established.
►
<static>
caplin.streamlink.ConnectionState.UNREACHABLE
Connection to the Liberator is not possible.