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.
    • Constructor Detail

      • ICCameraItem

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

      • UTI

        public 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.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

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

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

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

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

        public ICCameraDevice device()
        [@property] device Parent device of this item.
      • flushMetadataCache

        public void flushMetadataCache()
        flushMetadataCache Deletes cached metadata for the item.
      • flushThumbnailCache

        public void flushThumbnailCache()
        flushThumbnailCache Deletes cached thumbnail for the item.
      • 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.
      • 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.
      • isRaw

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

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

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

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

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

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

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

        public java.lang.String name()
        [@property] name Name of this item.
      • new_objc

        public static java.lang.Object new_objc()
      • parentFolder

        public ICCameraFolder parentFolder()
        [@property] parentFolder Parent folder of this folder. The root folder's parentFolder is nil.
      • 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.
      • 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.
      • 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.
      • 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

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

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

        public 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.
      • 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.