Enum ENErrorCode

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

public enum ENErrorCode
extends Enum<ENErrorCode>
implements NSErrorCode
Since:
Available in iOS 12.5 and later.
  • Enum Constant Details

    • Unknown

      public static final ENErrorCode Unknown
    • BadParameter

      public static final ENErrorCode BadParameter
    • NotEntitled

      public static final ENErrorCode NotEntitled
    • NotAuthorized

      public static final ENErrorCode NotAuthorized
    • Unsupported

      public static final ENErrorCode Unsupported
    • Invalidated

      public static final ENErrorCode Invalidated
    • BluetoothOff

      public static final ENErrorCode BluetoothOff
    • InsufficientStorage

      public static final ENErrorCode InsufficientStorage
    • NotEnabled

      public static final ENErrorCode NotEnabled
    • APIMisuse

      public static final ENErrorCode APIMisuse
    • Internal

      public static final ENErrorCode Internal
    • InsufficientMemory

      public static final ENErrorCode InsufficientMemory
    • RateLimited

      public static final ENErrorCode RateLimited
    • Restricted

      public static final ENErrorCode Restricted
    • BadFormat

      public static final ENErrorCode BadFormat
    • DataInaccessible

      public static final ENErrorCode DataInaccessible
    • TravelStatusNotAvailable

      public static final ENErrorCode TravelStatusNotAvailable
  • Method Details

    • values

      public static ENErrorCode[] 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 ENErrorCode 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 12.5 and later.
    • value

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

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