Enum Class SubscriptionErrorType

java.lang.Object
java.lang.Enum<SubscriptionErrorType>
com.caplin.streamlink.SubscriptionErrorType
All Implemented Interfaces:
Serializable, Comparable<SubscriptionErrorType>, Constable

public enum SubscriptionErrorType extends Enum<SubscriptionErrorType>

Enumeration which represents the errors that can occur for a subject.

The SubscriptionErrorType will be provided on a onSubscriptionError callback to a SubscriptionListener.

  • Enum Constant Details

    • NOT_FOUND

      public static final SubscriptionErrorType NOT_FOUND

      The subject could not be found.

    • UNAVAILABLE

      public static final SubscriptionErrorType UNAVAILABLE

      The subject was not available.

    • DELETED

      public static final SubscriptionErrorType DELETED

      The subject has been deleted.

    • READ_DENIED

      public static final SubscriptionErrorType READ_DENIED

      The client does not have permission to read the subject.

    • WRITE_DENIED

      public static final SubscriptionErrorType WRITE_DENIED

      The client does not have permission to write to the subject.

    • WRITE_DENIED_DUE_TO_LICENSE

      public static final SubscriptionErrorType WRITE_DENIED_DUE_TO_LICENSE

      The client cannot contribute due to the Liberator's licensing limits being exceeded.

    • INVALID_PARAMETERS

      public static final SubscriptionErrorType INVALID_PARAMETERS

      Supplied parameters are invalid for this subject type.

  • Method Details

    • values

      public static SubscriptionErrorType[] 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

      public static SubscriptionErrorType valueOf(String name)
      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 name
      NullPointerException - if the argument is null