Enum Class IVideo.Crossorigin

java.lang.Object
java.lang.Enum<IVideo.Crossorigin>
org.zkoss.stateless.sul.IVideo.Crossorigin
All Implemented Interfaces:
Serializable, Comparable<IVideo.Crossorigin>, Constable
Enclosing interface:
IVideo

public static enum IVideo.Crossorigin extends Enum<IVideo.Crossorigin>
Specifies the crossorigin setting with IVideo.withCrossorigin(Crossorigin)
  • Enum Constant Details

    • ANONYMOUS

      public static final IVideo.Crossorigin ANONYMOUS
      CORS requests for this element will have the credentials flag set to 'same-origin'.
    • USE_CREDENTIALS

      public static final IVideo.Crossorigin USE_CREDENTIALS
      CORS requests for this element will have the credentials flag set to 'include'.
  • Method Details

    • values

      public static IVideo.Crossorigin[] 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 IVideo.Crossorigin 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