Provides information about a change in status of the connection to the Liberator.
The ConnectionStatusEvent
is provided on a onConnectionStatusChange
callback to a caplin.streamlink.ConnectionListener.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.ConnectionStatusEvent()
|
Attributes | Name and Description |
---|---|
|
void
getConnectionState()
* Returns the new state of a connection the the Liberator. |
|
void
getLiberatorUrl()
* Returns the URL of the Liberator connection that this status event has been raised for. |
|
void
getLoginFailReason()
* Returns the reason for the login attempt failing. |
|
void
getUsername()
* Returns the username that will be used to log in to the Liberator. |
►
caplin.streamlink.ConnectionStatusEvent()
►
void
getConnectionState()
*
Returns the new state of a connection the the Liberator.
* * @returns {caplin.streamlink.ConnectionState} The new connection state
►
void
getLiberatorUrl()
*
Returns the URL of the Liberator connection that this status event has been raised for.
* * @returns {String} The Liberator URL.
►
void
getLoginFailReason()
*
Returns the reason for the login attempt failing. It only makes sense to obtain this value if * the ConnectionState is LOGINFAILED.
* * @returns {caplin.streamlink.LoginFailedReason} The reason (LoginFailedReason.NONE if not available).
►
void
getUsername()
*
Returns the username that will be used to log in to the Liberator.
* * @returns {String} The username. This is only available when the caplin.streamlink.ConnectionState isCredentialsRetrieved
.