Class ICCameraFile

  • All Implemented Interfaces:
    NSObject

    public class ICCameraFile
    extends ICCameraItem
    ----------------------------------------------------------------------------------------------------------------- ICCameraFile ICCameraFile This class represents a file on an ICCameraDevice object.
    • Constructor Detail

      • ICCameraFile

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

      • 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)
      • burstFavorite

        public boolean burstFavorite()
        [@property] burstFavorite True if burst favorite, ignored if not in a burst or not a burst favorite.
      • burstPicked

        public boolean burstPicked()
        [@property] burstPicked True if burst user picked, ignored if not in a burst or not a burst user picked.
      • burstUUID

        public java.lang.String burstUUID()
        [@property] burstUUID burstUUID of file if present, nil if not in a burst.
      • 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()
      • createdFilename

        public java.lang.String createdFilename()
        [@property] createdFilename Created filename
      • debugDescription_static

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

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

        public double duration()
        [@property] duration Duration of audio/video file in seconds.
      • exifCreationDate

        public NSDate exifCreationDate()
        [@property] exifCreationDate Properties will either represent the exif creation date, or nil.
      • exifModificationDate

        public NSDate exifModificationDate()
        [@property] exifModificationDate Properties will either represent the exif modification date, or nil.
      • fileCreationDate

        public NSDate fileCreationDate()
        [@property] fileCreationDate Properties will either represent the actual file creation date, or nil.
      • fileModificationDate

        public NSDate fileModificationDate()
        [@property] fileModificationDate Properties will either represent the actual file modification date, or nil.
      • fileSize

        public long fileSize()
        [@property] fileSize Size of file in bytes.
      • firstPicked

        public boolean firstPicked()
        [@property] firstPicked True if file is a firstPicked nil otherwise.
      • gpsString

        public java.lang.String gpsString()
        [@property] gpsString GPS String in standard format.
      • groupUUID

        public java.lang.String groupUUID()
        [@property] groupUUID groupUUID of file if present, nil if file has no groupUUID.
      • hash_static

        public static long hash_static()
      • height

        public long height()
        [@property] height Height of an image or movie frame.
      • highFramerate

        public boolean highFramerate()
        [@property] highFramerate True if file is a slo-mo or high framerate video file, nil otherwise.
      • instanceMethodSignatureForSelector

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

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

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

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

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

        public long orientation()
        [@property] orientation Desired orientation of image to use when it is downloaded. This property is set to ICEXIFOrientation1 initially. If the format of this file supports EXIF orientation tag, then this property will be updated to match the value of that tag, when the thumbnail or metadata for this file is received.
      • originalFilename

        public java.lang.String originalFilename()
        [@property] originalFilename Original filename on disk
      • originatingAssetID

        public java.lang.String originatingAssetID()
        [@property] originatingAssetID originatingAssetID of file if present, nil if not a HEIF or HVEC.
      • pairedRawImage

        public ICCameraFile pairedRawImage()
        [@property] pairedRawImage A single item subset of the sidecarFiles array, which contains the logical RAW compliment of a JPG or other format image.
      • relatedUUID

        public java.lang.String relatedUUID()
        [@property] relatedUUID Internal related UUID for dbg/aae/etc.
      • requestDownloadWithOptionsCompletion

        public NSProgress requestDownloadWithOptionsCompletion​(NSDictionary<java.lang.String,​?> options,
                                                               ICCameraFile.Block_requestDownloadWithOptionsCompletion completion)
        requestDownloadWithOptions:progressDelegate:completion Perform a download request and execute the block callback in place of the delegate. [@note] The completion block will execute on an any available queue, often this will not be the main queue.
        Parameters:
        options - Dictionary Keys: - `ICDownloadsDirectoryURL` - `ICSaveAsFilename` - `ICOverwriteExistingFile` - `ICDeleteAfterDownload` - `ICAdjustCreationDate`
        completion - Completion block to executed after request has returned,
      • requestMetadataDictionaryWithOptionsCompletion

        public void requestMetadataDictionaryWithOptionsCompletion​(NSDictionary<java.lang.String,​?> options,
                                                                   ICCameraFile.Block_requestMetadataDictionaryWithOptionsCompletion completion)
        requestMetadataDictionaryWithOptions:completion Perform a metadata request and execute the block callback in place of the delegate. [@note] The completion block will execute on an any available queue, often this will not be the main queue.
        Parameters:
        options - Options dictionary
        completion - Completion block called with an NSDictionary* object containing the metadata, and an NSError* for status.
      • requestReadDataAtOffsetLengthCompletion

        public void requestReadDataAtOffsetLengthCompletion​(long offset,
                                                            long length,
                                                            ICCameraFile.Block_requestReadDataAtOffsetLengthCompletion completion)
        requestReadDataAtOffset:length:completion This method asynchronously reads data of a specified length from a specified offset. [@note] The completion block will execute on an any available queue, often this will not be the main queue.
        Parameters:
        offset - The offset into the file to start reading from
        length - The length of data to be read.
        completion - Completion block called with an NSData* object representing the data, and an NSError* for status.
      • requestThumbnailDataWithOptionsCompletion

        public void requestThumbnailDataWithOptionsCompletion​(NSDictionary<java.lang.String,​?> options,
                                                              ICCameraFile.Block_requestThumbnailDataWithOptionsCompletion completion)
        requestThumbnailDataWithOptions:completion Perform a thumbnail request and execute the block callback in place of the delegate. [@note] The completion block will execute on an any available queue, often this will not be the main queue.
        Parameters:
        options - Options dictionary - 'kCGImageSourceThumbnailMaxPixelSize' - Request a width different from the embedded EXIF thumbnail
        completion - Completion block called with an NSData* object representing the JPG, and an NSError* for status.
      • resolveClassMethod

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

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

        public void setOrientation​(long value)
        [@property] orientation Desired orientation of image to use when it is downloaded. This property is set to ICEXIFOrientation1 initially. If the format of this file supports EXIF orientation tag, then this property will be updated to match the value of that tag, when the thumbnail or metadata for this file is received.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • sidecarFiles

        public NSArray<? extends ICCameraItem> sidecarFiles()
        [@property] sidecarFiles This property is NULL if there are no sidecar files associated with this file. Otherwise it is an array of ICCameraFile instances of sidecar files associated with this file. An example of a sidecar file is a file with the same base name as this file and having an extension XMP.
      • superclass_static

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

        public boolean timeLapse()
        [@property] timeLapse True if file is a time-lapse video file, nil otherwise.
      • version_static

        public static long version_static()
      • width

        public long width()
        [@property] width Width of an image or movie frame.