Share this page

com.hp.lft.sdk

## Enum VideoFormat

- java.lang.Object
- - java.lang.Enum<VideoFormat>
  - - com.hp.lft.sdk.VideoFormat

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<VideoFormat>

      public enum VideoFormat
      extends java.lang.Enum<VideoFormat>

  Formats which can be used in VideoData construction.

- - ### Enum Constant Summary

    Enum Constant and Description
    `M4V` M4V format.
    `MKV` MKV format.
    `MOV` MOV format.
    `MP4` MP4 format.
    `THREE_GP` 3GP format.

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `static VideoFormat` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static VideoFormat[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### MP4

          public static final VideoFormat MP4

      MP4 format. Supported on iOS and Android.

    - #### THREE_GP

          public static final VideoFormat THREE_GP

      3GP format. Supported on Android.

    - #### MKV

          public static final VideoFormat MKV

      MKV format. Supported on Android.

    - #### MOV

          public static final VideoFormat MOV

      MOV format. Supported on iOS.

    - #### M4V

          public static final VideoFormat M4V

      M4V format. Supported on iOS.

  - ### Method Detail

    - #### values

          public static VideoFormat[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (VideoFormat c : VideoFormat.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static VideoFormat valueOf(java.lang.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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: