Enum TKErrorCode

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

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

    • CodeNotImplemented

      public static final TKErrorCode CodeNotImplemented
    • CodeCommunicationError

      public static final TKErrorCode CodeCommunicationError
    • CodeCorruptedData

      public static final TKErrorCode CodeCorruptedData
    • CodeCanceledByUser

      public static final TKErrorCode CodeCanceledByUser
    • CodeAuthenticationFailed

      public static final TKErrorCode CodeAuthenticationFailed
    • CodeObjectNotFound

      public static final TKErrorCode CodeObjectNotFound
    • CodeTokenNotFound

      public static final TKErrorCode CodeTokenNotFound
    • CodeBadParameter

      public static final TKErrorCode CodeBadParameter
    • CodeAuthenticationNeeded

      public static final TKErrorCode CodeAuthenticationNeeded
    • AuthenticationFailed

      @Deprecated public static final TKErrorCode AuthenticationFailed
      Deprecated.
      Deprecated in iOS 9.0. Use TKErrorCodeAuthenticationFailed
      Since:
      Available in iOS 9.0 and later.
    • ObjectNotFound

      @Deprecated public static final TKErrorCode ObjectNotFound
      Deprecated.
      Deprecated in iOS 9.0. Use TKErrorCodeObjectNotFound
      Since:
      Available in iOS 9.0 and later.
    • TokenNotFound

      @Deprecated public static final TKErrorCode TokenNotFound
      Deprecated.
      Deprecated in iOS 9.0. Use TKErrorCodeTokenNotFound
      Since:
      Available in iOS 9.0 and later.
  • Method Details

    • values

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

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

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