Class ICCameraItem

  • All Implemented Interfaces:
    NSObject
    Direct Known Subclasses:
    ICCameraFile, ICCameraFolder

    public class ICCameraItem
    extends NSObject
    ----------------------------------------------------------------------------------------------------------------- ICCameraItem ICCameraItem ICCameraItem is an abstract class that represents an item in an ICCameraDevice object. ICCameraDevice object creates instances of two concrete subclasses of ICCameraItem: ICCameraFolder and ICCameraFile. API-Since: 13.0
    • Constructor Detail

      • ICCameraItem

        protected ICCameraItem​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • UTI

        @Nullable
        public @Nullable java.lang.String UTI()
        [@property] UTI Item UTI. This is an Uniform Type Identifier string. It is one of: kUTTypeFolder, kUTTypeImage, kUTTypeMovie, kUTTypeAudio, or kUTTypeData. API-Since: 13.0
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static ICCameraItem allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • creationDate

        @Nullable
        public @Nullable NSDate creationDate()
        [@property] creationDate Creation date of this file. This information is usually the same as the EXIF creation date. API-Since: 13.0
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • device

        @Nullable
        public @Nullable ICCameraDevice device()
        [@property] device Parent device of this item. API-Since: 13.0
      • flushMetadataCache

        public void flushMetadataCache()
        flushMetadataCache Deletes cached metadata for the item. API-Since: 13.0
      • flushThumbnailCache

        public void flushThumbnailCache()
        flushThumbnailCache Deletes cached thumbnail for the item. API-Since: 13.0
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isInTemporaryStore

        public boolean isInTemporaryStore()
        [@property] inTemporaryStore Indicates if this folder is in a temporary store. A temporary store may be used by the device when images are captures on the device when it is tethered to the computer. API-Since: 13.0
      • isLocked

        public boolean isLocked()
        [@property] locked Indicates the protection state of this item. It is locked if the storage card in the camera is locked. API-Since: 13.0
      • isRaw

        public boolean isRaw()
        [@property] raw Indicates if the file is a raw image file. API-Since: 13.0
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • largeThumbnailIfAvailable

        @Nullable
        public @Nullable CGImageRef largeThumbnailIfAvailable()
        [@property] largeThumbnailIfAvailable
      • metadata

        @Nullable
        public @Nullable NSDictionary<?,​?> metadata()
        [@property] metadata Metadata for the item. The value of this property is NULL unless a 'requestMetadata' message is sent to this object. API-Since: 13.0
      • metadataIfAvailable

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> metadataIfAvailable()
        [@property] metadataIfAvailable
      • modificationDate

        @Nullable
        public @Nullable NSDate modificationDate()
        [@property] modificationDate Modification date of this file. This information is usually the same as the EXIF modification date. API-Since: 13.0
      • name

        @Nullable
        public @Nullable java.lang.String name()
        [@property] name Name of this item. API-Since: 13.0
      • parentFolder

        @Nullable
        public @Nullable ICCameraFolder parentFolder()
        [@property] parentFolder Parent folder of this folder. The root folder's parentFolder is nil. API-Since: 13.0
      • ptpObjectHandle

        public int ptpObjectHandle()
        [@property] ptpObjectHandle PTP object handle value if the item is on a camera that uses PTP protocol. The value of this property is set to 0 if the camera does not use PTP protocol. API-Since: 13.0
      • requestMetadata

        public void requestMetadata()
        requestMetadata Metadata for the file if one is readily available. If one is not readily available, accessing this property will send a message to the device requesting metadata for the file. The delegate of the device will be notified via method "cameraDevice:didReceiveMetadata:forItem:error:", if this method is implemented by the delegate. [@note] Execution of the delegate callback will occur on the main thread. API-Since: 13.0
      • requestThumbnail

        public void requestThumbnail()
        requestThumbnail This method requests thumbnail for the item. If one is not readily available, accessing this property will send a message to the device requesting a thumbnail for the file. The delegate of the device will be notified via method "cameraDevice:didReceiveThumbnail:forItem:error:", if this method is implemented by the delegate. [@note] Execution of the delegate callback will occur on the main thread. API-Since: 13.0
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • thumbnail

        @Nullable
        public @Nullable CGImageRef thumbnail()
        [@property] thumbnail Thumbnail for the item. The value of this property is NULL unless a 'requestThumbnail' message is sent to this object. API-Since: 13.0
      • thumbnailIfAvailable

        @Nullable
        public @Nullable CGImageRef thumbnailIfAvailable()
        [@property] thumbnailIfAvailable
      • userData

        @Nullable
        public @Nullable NSMutableDictionary<?,​?> userData()
        [@property] userData A mutable dictionary to store arbitrary key-value pairs associated with a camera item object. This can be used by view objects that bind to this object to store "house-keeping" information. API-Since: 13.0
      • version_static

        public static long version_static()
      • wasAddedAfterContentCatalogCompleted

        public boolean wasAddedAfterContentCatalogCompleted()
        [@property] addedAfterContentCatalogCompleted This property is set if the file is captured on the device after the device's content is fully enumerated. This does not apply to files added as a result of adding a new store to the device. API-Since: 13.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.