Enum Class ImageFormat

java.lang.Object
java.lang.Enum<ImageFormat>
me.clarius.sdk.ImageFormat
All Implemented Interfaces:
Serializable, Comparable<ImageFormat>, Constable

public enum ImageFormat extends Enum<ImageFormat>
The types of image data compression which are handled in the software.
  • Enum Constant Details

    • Uncompressed

      public static final ImageFormat Uncompressed
      Processed images are sent in a raw and uncompressed in 32 bits ARGB.
    • Jpeg

      public static final ImageFormat Jpeg
      Processed images are sent as a jpeg (with header).
    • Png

      public static final ImageFormat Png
      Processed images are sent as a png (with header).
  • Method Details

    • values

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