Package apple.imagecapturecore
Class ICCameraFile
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.imagecapturecore.ICCameraItem
-
- apple.imagecapturecore.ICCameraFile
-
- All Implemented Interfaces:
NSObject
public class ICCameraFile extends ICCameraItem
----------------------------------------------------------------------------------------------------------------- ICCameraFile ICCameraFile This class represents a file on an ICCameraDevice object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceICCameraFile.Block_requestDownloadWithOptionsCompletionstatic interfaceICCameraFile.Block_requestMetadataDictionaryWithOptionsCompletionstatic interfaceICCameraFile.Block_requestReadDataAtOffsetLengthCompletionstatic interfaceICCameraFile.Block_requestThumbnailDataWithOptionsCompletion-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedICCameraFile(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static ICCameraFilealloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)booleanburstFavorite()[@property] burstFavorite True if burst favorite, ignored if not in a burst or not a burst favorite.booleanburstPicked()[@property] burstPicked True if burst user picked, ignored if not in a burst or not a burst user picked.java.lang.StringburstUUID()[@property] burstUUID burstUUID of file if present, nil if not in a burst.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()java.lang.StringcreatedFilename()[@property] createdFilename Created filenamestatic java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()doubleduration()[@property] duration Duration of audio/video file in seconds.NSDateexifCreationDate()[@property] exifCreationDate Properties will either represent the exif creation date, or nil.NSDateexifModificationDate()[@property] exifModificationDate Properties will either represent the exif modification date, or nil.NSDatefileCreationDate()[@property] fileCreationDate Properties will either represent the actual file creation date, or nil.NSDatefileModificationDate()[@property] fileModificationDate Properties will either represent the actual file modification date, or nil.longfileSize()[@property] fileSize Size of file in bytes.booleanfirstPicked()[@property] firstPicked True if file is a firstPicked nil otherwise.java.lang.StringgpsString()[@property] gpsString GPS String in standard format.java.lang.StringgroupUUID()[@property] groupUUID groupUUID of file if present, nil if file has no groupUUID.static longhash_static()longheight()[@property] height Height of an image or movie frame.booleanhighFramerate()[@property] highFramerate True if file is a slo-mo or high framerate video file, nil otherwise.ICCameraFileinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()longorientation()[@property] orientation Desired orientation of image to use when it is downloaded.java.lang.StringoriginalFilename()[@property] originalFilename Original filename on diskjava.lang.StringoriginatingAssetID()[@property] originatingAssetID originatingAssetID of file if present, nil if not a HEIF or HVEC.ICCameraFilepairedRawImage()[@property] pairedRawImage A single item subset of the sidecarFiles array, which contains the logical RAW compliment of a JPG or other format image.java.lang.StringrelatedUUID()[@property] relatedUUID Internal related UUID for dbg/aae/etc.NSProgressrequestDownloadWithOptionsCompletion(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.voidrequestMetadataDictionaryWithOptionsCompletion(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.voidrequestReadDataAtOffsetLengthCompletion(long offset, long length, ICCameraFile.Block_requestReadDataAtOffsetLengthCompletion completion)requestReadDataAtOffset:length:completion This method asynchronously reads data of a specified length from a specified offset.voidrequestThumbnailDataWithOptionsCompletion(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.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetOrientation(long value)[@property] orientation Desired orientation of image to use when it is downloaded.static voidsetVersion_static(long aVersion)NSArray<? extends ICCameraItem>sidecarFiles()[@property] sidecarFiles This property is NULL if there are no sidecar files associated with this file.static org.moe.natj.objc.Classsuperclass_static()booleantimeLapse()[@property] timeLapse True if file is a time-lapse video file, nil otherwise.static longversion_static()longwidth()[@property] width Width of an image or movie frame.-
Methods inherited from class apple.imagecapturecore.ICCameraItem
creationDate, device, flushMetadataCache, flushThumbnailCache, isInTemporaryStore, isLocked, isRaw, largeThumbnailIfAvailable, metadata, metadataIfAvailable, modificationDate, name, parentFolder, ptpObjectHandle, requestMetadata, requestThumbnail, thumbnail, thumbnailIfAvailable, userData, UTI, wasAddedAfterContentCatalogCompleted
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static ICCameraFile alloc()
-
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.
-
init
public ICCameraFile init()
- Overrides:
initin classICCameraItem
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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 dictionarycompletion- 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 fromlength- 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 thumbnailcompletion- 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.
-
-