Enum Class FrameOutput.ReadBufferMode

java.lang.Object
java.lang.Enum<FrameOutput.ReadBufferMode>
com.banuba.sdk.output.FrameOutput.ReadBufferMode
All Implemented Interfaces:
Serializable, Comparable<FrameOutput.ReadBufferMode>, Constable
Enclosing class:
FrameOutput

public static enum FrameOutput.ReadBufferMode extends Enum<FrameOutput.ReadBufferMode>
Pixel reading mode
  • Enum Constant Details

    • SYNC

      public static final FrameOutput.ReadBufferMode SYNC
      Synchronous mode. For each input frame, the image is read.
    • ASYNC

      public static final FrameOutput.ReadBufferMode ASYNC
      Asynchronous mode. The callback with the ready frame will be called only if it is ready.
  • Method Details

    • values

      public static FrameOutput.ReadBufferMode[] 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 FrameOutput.ReadBufferMode 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