Package com.caplin.streamlink
Enum Class SubscriptionErrorType
- All Implemented Interfaces:
Serializable
,Comparable<SubscriptionErrorType>
,Constable
Enumeration which represents the errors that can occur for a subject.
The SubscriptionErrorType
will be provided on a onSubscriptionError
callback to a SubscriptionListener
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe subject has been deleted.Supplied parameters are invalid for this subject type.The subject could not be found.The client does not have permission to read the subject.The subject was not available.The client does not have permission to write to the subject.The client cannot contribute due to the Liberator's licensing limits being exceeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionErrorType
Returns the enum constant of this class with the specified name.static SubscriptionErrorType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_FOUND
The subject could not be found.
-
UNAVAILABLE
The subject was not available.
-
DELETED
The subject has been deleted.
-
READ_DENIED
The client does not have permission to read the subject.
-
WRITE_DENIED
The client does not have permission to write to the subject.
-
WRITE_DENIED_DUE_TO_LICENSE
The client cannot contribute due to the Liberator's licensing limits being exceeded.
-
INVALID_PARAMETERS
Supplied parameters are invalid for this subject type.
-
-
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
-