Class ICCameraFile

  • All Implemented Interfaces:
    NSObject

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

      • ICCameraFile

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull 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. API-Since: 13.0
      • burstPicked

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

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

        @Nullable
        public @Nullable java.lang.String createdFilename()
        [@property] createdFilename Created filename API-Since: 13.0
      • 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. API-Since: 13.0
      • exifCreationDate

        @Nullable
        public @Nullable NSDate exifCreationDate()
        [@property] exifCreationDate Properties will either represent the exif creation date, or nil. API-Since: 13.0
      • exifModificationDate

        @Nullable
        public @Nullable NSDate exifModificationDate()
        [@property] exifModificationDate Properties will either represent the exif modification date, or nil. API-Since: 13.0
      • fileCreationDate

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

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

        public long fileSize()
        [@property] fileSize Size of file in bytes. API-Since: 13.0
      • firstPicked

        public boolean firstPicked()
        [@property] firstPicked True if file is a firstPicked nil otherwise. API-Since: 13.0
      • gpsString

        @Nullable
        public @Nullable java.lang.String gpsString()
        [@property] gpsString GPS String in standard format. API-Since: 13.0
      • groupUUID

        @Nullable
        public @Nullable java.lang.String groupUUID()
        [@property] groupUUID groupUUID of file if present, nil if file has no groupUUID. API-Since: 13.0
      • hash_static

        public static long hash_static()
      • height

        public long height()
        [@property] height Height of an image or movie frame. API-Since: 13.0
      • highFramerate

        public boolean highFramerate()
        [@property] highFramerate True if file is a slo-mo or high framerate video file, nil otherwise. API-Since: 13.0
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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. API-Since: 13.0
      • originalFilename

        @Nullable
        public @Nullable java.lang.String originalFilename()
        [@property] originalFilename Original filename on disk API-Since: 13.0
      • originatingAssetID

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

        @Nullable
        public @Nullable 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. API-Since: 13.0
      • relatedUUID

        @Nullable
        public @Nullable java.lang.String relatedUUID()
        [@property] relatedUUID Internal related UUID for dbg/aae/etc. API-Since: 13.0
      • requestDownloadWithOptionsCompletion

        @Nullable
        public @Nullable NSProgress requestDownloadWithOptionsCompletion​(@Nullable
                                                                         @Nullable NSDictionary<java.lang.String,​?> options,
                                                                         @NotNull
                                                                         @NotNull 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. API-Since: 13.0
        Parameters:
        options - Dictionary Keys: - `ICDownloadsDirectoryURL` - `ICSaveAsFilename` - `ICOverwriteExistingFile` - `ICDeleteAfterDownload` - `ICAdjustCreationDate`
        completion - Completion block to executed after request has returned,
      • requestMetadataDictionaryWithOptionsCompletion

        public void requestMetadataDictionaryWithOptionsCompletion​(@Nullable
                                                                   @Nullable NSDictionary<java.lang.String,​?> options,
                                                                   @NotNull
                                                                   @NotNull 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. API-Since: 13.0
        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,
                                                            @NotNull
                                                            @NotNull 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. API-Since: 13.0
        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​(@Nullable
                                                              @Nullable NSDictionary<java.lang.String,​?> options,
                                                              @NotNull
                                                              @NotNull 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. API-Since: 13.0
        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. API-Since: 13.0
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • sidecarFiles

        @Nullable
        public @Nullable 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. API-Since: 13.0
      • 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. API-Since: 13.0
      • version_static

        public static long version_static()
      • width

        public long width()
        [@property] width Width of an image or movie frame. API-Since: 13.0
      • requestSecurityScopedURLWithCompletion

        public void requestSecurityScopedURLWithCompletion​(@NotNull
                                                           @NotNull ICCameraFile.Block_requestSecurityScopedURLWithCompletion completion)
        requestSecurityScopedURLWithCompletion Requests a security scoped NSURL* for a media file on a mass storage volume. The returned NSURL* requires the use of startAccessingSecurityScopedResource, and stopAccessingSecurityScopedResource for access. [@note] The completion block will execute on an any available queue, often this will not be the main queue. API-Since: 17.0
        Parameters:
        completion - Completion block called with an NSURL*, and an NSError* for status.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.