Enum Class Video.ProjectionFormat

java.lang.Object
java.lang.Enum<Video.ProjectionFormat>
com.brightcove.player.model.Video.ProjectionFormat
All Implemented Interfaces:
Serializable, Comparable<Video.ProjectionFormat>, Constable
Enclosing class:
Video

public static enum Video.ProjectionFormat extends Enum<Video.ProjectionFormat>
The list of known projection formats.
  • Enum Constant Details

    • NORMAL

      @SerializedName("NORMAL") public static final Video.ProjectionFormat NORMAL
      Normal projection format.
    • EQUIRECTANGULAR

      @SerializedName("EQUIRECTANGULAR") public static final Video.ProjectionFormat EQUIRECTANGULAR
      Standard equi-rectangular 360 degree projection format.
  • Field Details

    • name

      public final String name
      The human readable name of the format.
  • Method Details

    • values

      public static Video.ProjectionFormat[] 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 Video.ProjectionFormat 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
    • toString

      public String toString()
      Overrides the base implementation to return the name of the format as string.
      Overrides:
      toString in class Enum<Video.ProjectionFormat>
    • parse

      @Nullable public static Video.ProjectionFormat parse(@Nullable Object value, @Nullable Video.ProjectionFormat defaultProjectionFormat)
      Matches the given value to list of known projection format names.
      Parameters:
      value - the value to be matches.
      defaultProjectionFormat - the value that will be returned if the given value does not match any of the known projection format names.
      Returns:
      defaultProjectionFormat or reference to the matching video format.
    • parse

      @Nullable public static Video.ProjectionFormat parse(@Nullable Object value)
      Matches the given value to list of known projection format names.
      Parameters:
      value - the value to be matches.
      Returns:
      null or reference to the matching projection format.