Enum VNErrorCode

java.lang.Object
java.lang.Enum<VNErrorCode>
org.robovm.apple.vision.VNErrorCode
All Implemented Interfaces:
Serializable, Comparable<VNErrorCode>, NSErrorCode, ValuedEnum

public enum VNErrorCode
extends Enum<VNErrorCode>
implements NSErrorCode
  • Enum Constant Details

    • OK

      public static final VNErrorCode OK
    • RequestCancelled

      public static final VNErrorCode RequestCancelled
    • InvalidFormat

      public static final VNErrorCode InvalidFormat
    • OperationFailed

      public static final VNErrorCode OperationFailed
    • OutOfBoundsError

      public static final VNErrorCode OutOfBoundsError
    • InvalidOption

      public static final VNErrorCode InvalidOption
    • IOError

      public static final VNErrorCode IOError
    • MissingOption

      public static final VNErrorCode MissingOption
    • NotImplemented

      public static final VNErrorCode NotImplemented
    • InternalError

      public static final VNErrorCode InternalError
    • OutOfMemory

      public static final VNErrorCode OutOfMemory
    • UnknownError

      public static final VNErrorCode UnknownError
    • InvalidOperation

      public static final VNErrorCode InvalidOperation
    • InvalidImage

      public static final VNErrorCode InvalidImage
    • InvalidArgument

      public static final VNErrorCode InvalidArgument
    • InvalidModel

      public static final VNErrorCode InvalidModel
    • UnsupportedRevision

      public static final VNErrorCode UnsupportedRevision
      Since:
      Available in iOS 12.0 and later.
    • DataUnavailable

      public static final VNErrorCode DataUnavailable
      Since:
      Available in iOS 13.0 and later.
    • TimeStampNotFound

      public static final VNErrorCode TimeStampNotFound
      Since:
      Available in iOS 14.0 and later.
    • UnsupportedRequest

      public static final VNErrorCode UnsupportedRequest
      Since:
      Available in iOS 15.0 and later.
  • Method Details

    • values

      public static VNErrorCode[] 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 VNErrorCode 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
    • getClassDomain

      public static String getClassDomain()
      Since:
      Available in iOS 11.0 and later.
    • value

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

      public static VNErrorCode 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