Enum CVReturn

java.lang.Object
java.lang.Enum<CVReturn>
org.robovm.apple.corevideo.CVReturn
All Implemented Interfaces:
Serializable, Comparable<CVReturn>, ValuedEnum

public enum CVReturn
extends Enum<CVReturn>
implements ValuedEnum
  • Enum Constant Details

    • Success

      public static final CVReturn Success
    • First

      public static final CVReturn First
    • Error

      public static final CVReturn Error
    • InvalidArgument

      public static final CVReturn InvalidArgument
    • AllocationFailed

      public static final CVReturn AllocationFailed
    • Unsupported

      public static final CVReturn Unsupported
    • InvalidDisplay

      public static final CVReturn InvalidDisplay
    • DisplayLinkAlreadyRunning

      public static final CVReturn DisplayLinkAlreadyRunning
    • DisplayLinkNotRunning

      public static final CVReturn DisplayLinkNotRunning
    • DisplayLinkCallbacksNotSet

      public static final CVReturn DisplayLinkCallbacksNotSet
    • InvalidPixelFormat

      public static final CVReturn InvalidPixelFormat
    • InvalidSize

      public static final CVReturn InvalidSize
    • InvalidPixelBufferAttributes

      public static final CVReturn InvalidPixelBufferAttributes
    • PixelBufferNotOpenGLCompatible

      public static final CVReturn PixelBufferNotOpenGLCompatible
    • PixelBufferNotMetalCompatible

      public static final CVReturn PixelBufferNotMetalCompatible
    • WouldExceedAllocationThreshold

      public static final CVReturn WouldExceedAllocationThreshold
    • PoolAllocationFailed

      public static final CVReturn PoolAllocationFailed
    • InvalidPoolAttributes

      public static final CVReturn InvalidPoolAttributes
    • Retry

      public static final CVReturn Retry
    • Last

      public static final CVReturn Last
  • Method Details

    • values

      public static CVReturn[] 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 CVReturn 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
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

      public static CVReturn valueOf​(long n)
      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:
      n - 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