Enum Class WidevineActivationStatus

java.lang.Object
java.lang.Enum<WidevineActivationStatus>
com.teamdev.jxbrowser.engine.WidevineActivationStatus
All Implemented Interfaces:
Serializable, Comparable<WidevineActivationStatus>, Constable

public enum WidevineActivationStatus extends Enum<WidevineActivationStatus>
Represents the status of the Widevine component activation.
Since:
8.8.0
  • Enum Constant Details

    • ACTIVATED

      public static final WidevineActivationStatus ACTIVATED
      The Widevine component is successfully activated and updated to the latest version.
    • RESTART_REQUIRED

      public static final WidevineActivationStatus RESTART_REQUIRED
      The Widevine component is successfully activated, but the engine restart is required to start using it.

      This status is used on Linux only, because the engine cannot start using it right after activation or updating to the latest version.

    • ACTIVATION_FAILED

      public static final WidevineActivationStatus ACTIVATION_FAILED
      Activation of the Widevine component is failed.

      Activation can fail due to various reasons, such as network issues or some internal errors on the remote service.

    • NOT_SUPPORTED

      public static final WidevineActivationStatus NOT_SUPPORTED
      The Widevine component is not supported on the current platform and CPU architecture.
  • Method Details

    • values

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