Enum VideoOrientation.Known

java.lang.Object
java.lang.Enum<VideoOrientation.Known>
com.google.genai.types.VideoOrientation.Known
All Implemented Interfaces:
Serializable, Comparable<VideoOrientation.Known>
Enclosing class:
VideoOrientation

public static enum VideoOrientation.Known extends Enum<VideoOrientation.Known>
Enum representing the known values for VideoOrientation.
  • Enum Constant Details

    • VIDEO_ORIENTATION_UNSPECIFIED

      public static final VideoOrientation.Known VIDEO_ORIENTATION_UNSPECIFIED
      Unspecified video orientation. Defaults to landscape.
    • LANDSCAPE

      public static final VideoOrientation.Known LANDSCAPE
      Landscape orientation (e.g. 16:9, 1280x720).
    • PORTRAIT

      public static final VideoOrientation.Known PORTRAIT
      Portrait orientation (e.g. 9:16, 720x1280).
  • Method Details

    • values

      public static VideoOrientation.Known[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static VideoOrientation.Known valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null