Enum CVReturn

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<CVReturn>, org.robovm.rt.bro.ValuedEnum

    public enum CVReturn
    extends java.lang.Enum<CVReturn>
    implements org.robovm.rt.bro.ValuedEnum
    • Enum Constant Detail

      • 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 Detail

      • values

        public static CVReturn[] 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 (CVReturn c : CVReturn.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public long value()
        Specified by:
        value in interface org.robovm.rt.bro.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null