Enum CKErrorCode

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

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

    • InternalError

      public static final CKErrorCode InternalError
    • PartialFailure

      public static final CKErrorCode PartialFailure
    • NetworkUnavailable

      public static final CKErrorCode NetworkUnavailable
    • NetworkFailure

      public static final CKErrorCode NetworkFailure
    • BadContainer

      public static final CKErrorCode BadContainer
    • ServiceUnavailable

      public static final CKErrorCode ServiceUnavailable
    • RequestRateLimited

      public static final CKErrorCode RequestRateLimited
    • MissingEntitlement

      public static final CKErrorCode MissingEntitlement
    • NotAuthenticated

      public static final CKErrorCode NotAuthenticated
    • PermissionFailure

      public static final CKErrorCode PermissionFailure
    • UnknownItem

      public static final CKErrorCode UnknownItem
    • InvalidArguments

      public static final CKErrorCode InvalidArguments
    • ResultsTruncated

      @Deprecated public static final CKErrorCode ResultsTruncated
      Deprecated.
      Deprecated in iOS 10.0. Will not be returned
    • ServerRecordChanged

      public static final CKErrorCode ServerRecordChanged
    • ServerRejectedRequest

      public static final CKErrorCode ServerRejectedRequest
    • AssetFileNotFound

      public static final CKErrorCode AssetFileNotFound
    • AssetFileModified

      public static final CKErrorCode AssetFileModified
    • IncompatibleVersion

      public static final CKErrorCode IncompatibleVersion
    • ConstraintViolation

      public static final CKErrorCode ConstraintViolation
    • OperationCancelled

      public static final CKErrorCode OperationCancelled
    • ChangeTokenExpired

      public static final CKErrorCode ChangeTokenExpired
    • BatchRequestFailed

      public static final CKErrorCode BatchRequestFailed
    • ZoneBusy

      public static final CKErrorCode ZoneBusy
    • BadDatabase

      public static final CKErrorCode BadDatabase
    • QuotaExceeded

      public static final CKErrorCode QuotaExceeded
    • ZoneNotFound

      public static final CKErrorCode ZoneNotFound
    • LimitExceeded

      public static final CKErrorCode LimitExceeded
    • UserDeletedZone

      public static final CKErrorCode UserDeletedZone
    • TooManyParticipants

      public static final CKErrorCode TooManyParticipants
      Since:
      Available in iOS 10.0 and later.
    • AlreadyShared

      public static final CKErrorCode AlreadyShared
      Since:
      Available in iOS 10.0 and later.
    • ReferenceViolation

      public static final CKErrorCode ReferenceViolation
      Since:
      Available in iOS 10.0 and later.
    • ManagedAccountRestricted

      public static final CKErrorCode ManagedAccountRestricted
      Since:
      Available in iOS 10.0 and later.
    • ParticipantMayNeedVerification

      public static final CKErrorCode ParticipantMayNeedVerification
      Since:
      Available in iOS 10.0 and later.
    • ServerResponseLost

      public static final CKErrorCode ServerResponseLost
      Since:
      Available in iOS 11.0 and later.
    • AssetNotAvailable

      public static final CKErrorCode AssetNotAvailable
      Since:
      Available in iOS 11.3 and later.
    • AccountTemporarilyUnavailable

      public static final CKErrorCode AccountTemporarilyUnavailable
      Since:
      Available in iOS 15.0 and later.
  • Method Details

    • values

      public static CKErrorCode[] 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 CKErrorCode 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 CKErrorCode 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