Enum PHPhotosError

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

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

    • InternalError

      public static final PHPhotosError InternalError
      Since:
      Available in iOS 13.0 and later.
    • UserCancelled

      public static final PHPhotosError UserCancelled
      Since:
      Available in iOS 13.0 and later.
    • LibraryVolumeOffline

      public static final PHPhotosError LibraryVolumeOffline
      Since:
      Available in iOS 13.0 and later.
    • RelinquishingLibraryBundleToWriter

      public static final PHPhotosError RelinquishingLibraryBundleToWriter
      Since:
      Available in iOS 13.0 and later.
    • SwitchingSystemPhotoLibrary

      public static final PHPhotosError SwitchingSystemPhotoLibrary
      Since:
      Available in iOS 13.0 and later.
    • NetworkAccessRequired

      public static final PHPhotosError NetworkAccessRequired
      Since:
      Available in iOS 14.0 and later.
    • IdentifierNotFound

      public static final PHPhotosError IdentifierNotFound
      Since:
      Available in iOS 15.0 and later.
    • MultipleIdentifiersFound

      public static final PHPhotosError MultipleIdentifiersFound
      Since:
      Available in iOS 15.0 and later.
    • ChangeNotSupported

      public static final PHPhotosError ChangeNotSupported
      Since:
      Available in iOS 15.0 and later.
    • OperationInterrupted

      public static final PHPhotosError OperationInterrupted
      Since:
      Available in iOS 15.0 and later.
    • InvalidResource

      public static final PHPhotosError InvalidResource
      Since:
      Available in iOS 15.0 and later.
    • MissingResource

      public static final PHPhotosError MissingResource
      Since:
      Available in iOS 15.0 and later.
    • NotEnoughSpace

      public static final PHPhotosError NotEnoughSpace
      Since:
      Available in iOS 15.0 and later.
    • RequestNotSupportedForAsset

      public static final PHPhotosError RequestNotSupportedForAsset
      Since:
      Available in iOS 15.0 and later.
    • AccessRestricted

      public static final PHPhotosError AccessRestricted
      Since:
      Available in iOS 15.0 and later.
    • AccessUserDenied

      public static final PHPhotosError AccessUserDenied
      Since:
      Available in iOS 15.0 and later.
    • LibraryInFileProviderSyncRoot

      public static final PHPhotosError LibraryInFileProviderSyncRoot
      Since:
      Available in iOS 15.4 and later.
    • Invalid

      @Deprecated public static final PHPhotosError Invalid
      Deprecated.
      Deprecated in iOS 15.0. Use PHPhotosErrorInternalError
      Since:
      Available in iOS 13.0 and later.
  • Method Details

    • values

      public static PHPhotosError[] 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 PHPhotosError 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 13.0 and later.
    • getLocalIdentifiersErrorKey

      public static String getLocalIdentifiersErrorKey()
      Since:
      Available in iOS 15.0 and later.
    • value

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

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