Package com.caplin.streamlink
Enum Class LoginFailedReason
- All Implemented Interfaces:
Serializable
,Comparable<LoginFailedReason>
,Constable
Enumeration that defines the reason for a failed login.
The LoginFailedReason
will be provided by calling getLoginFailReason
on a ConnectionStatusEvent
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStreamLink can not log in to the Liberator because the user's account has expired.StreamLink can not log in to the Liberator because the user is already logged inAn error occurred whilst retrieving the credentials that are used to log in to the LiberatorStreamLink can not log in to the Liberator because the connection attempts is made from an invalid IP address.StreamLink can not log in to the Liberator because the user's password is incorrect.StreamLink can not log in to the Liberator because the user's username is incorrect.StreamLink can not log in to the Liberator due to licensing limitations.StreamLink can not log in to the Liberator due to licensing limitations.This value is undefined -
Method Summary
Modifier and TypeMethodDescriptionstatic LoginFailedReason
Returns the enum constant of this class with the specified name.static LoginFailedReason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_USER
StreamLink can not log in to the Liberator because the user's username is incorrect. -
INVALID_PASS
StreamLink can not log in to the Liberator because the user's password is incorrect. -
INVALID_IP
StreamLink can not log in to the Liberator because the connection attempts is made from an invalid IP address. * -
ACCT_EXPIRED
StreamLink can not log in to the Liberator because the user's account has expired. -
ALREADY_LOGGED_IN
StreamLink can not log in to the Liberator because the user is already logged in -
LICENSE_SITE
StreamLink can not log in to the Liberator due to licensing limitations. -
LICENSE_USER
StreamLink can not log in to the Liberator due to licensing limitations. -
CREDENTIALSERROR
An error occurred whilst retrieving the credentials that are used to log in to the Liberator -
UNDEFINED
This value is undefined
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-