Package apple.imagecapturecore
Class ICCameraDevice
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.imagecapturecore.ICDevice
-
- apple.imagecapturecore.ICCameraDevice
-
- All Implemented Interfaces:
NSObject
public class ICCameraDevice extends ICDevice
--------------------------------------------------------------------------------------------------------------- ICCameraDevice ICCameraDevice ICCameraDevice is a concrete subclass of ICDevice class. ICDeviceBrowser creates instances of this class. API-Since: 13.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceICCameraDevice.Block_ptpEventHandler_retstatic interfaceICCameraDevice.Block_requestDeleteFilesDeleteFailedCompletion_1static interfaceICCameraDevice.Block_requestDeleteFilesDeleteFailedCompletion_2static interfaceICCameraDevice.Block_requestSendPTPCommandOutDataCompletionstatic interfaceICCameraDevice.Block_setPtpEventHandler-
Nested classes/interfaces inherited from class apple.imagecapturecore.ICDevice
ICDevice.Block_requestCloseSessionWithOptionsCompletion, ICDevice.Block_requestEjectWithCompletion, ICDevice.Block_requestOpenSessionWithOptionsCompletion
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedICCameraDevice(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static ICCameraDevicealloc()static ICCameraDeviceallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)longbatteryLevel()[@property] batteryLevel Indicates the battery charge level.booleanbatteryLevelAvailable()[@property] batteryLevelAvailable Indicates if the device has reported battery charge level.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()longcontentCatalogPercentCompleted()[@property] contentCatalogPercentCompleted Indicates the percentage of content cataloging completed on the device.@Nullable NSArray<? extends ICCameraItem>contents()[@property] contents Contents of the camera.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable NSArray<java.lang.String>filesOfType(@NotNull java.lang.String fileUTType)filesOfType: This method returns an array of files on the camera of type fileType.static longhash_static()booleaniCloudPhotosEnabled()[@property] iCloudPhotosEnabled Set to YES if the device is made by Apple and is pass-coded locked and connected to an untrusted host.ICCameraDeviceinit()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)booleanisAccessRestrictedAppleDevice()[@property] accessRestrictedAppleDevice Set to YES if the device is made by Apple and is pass-coded locked and connected to an untrusted host.booleanisEjectable()[@property] ejectable Indicates whether the device can be 'soft' removed or disconnected.booleanisLocked()[@property] locked Indicates whether the device is locked.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)@Nullable NSArray<? extends ICCameraItem>mediaFiles()[@property] mediaFiles The property mediaFiles represents all image, movie and audio files on the camera.longmediaPresentation()[@property] mediaPresentation The media presentation describes the visible assets from a device that may contain multiple formats of each media asset.static ICCameraDevicenew_objc()@NotNull ICCameraDevice.Block_ptpEventHandler_retptpEventHandler()[@property] ptpEventHandler As an alternative to setting up an object to handle PTP event packets, a handler can be set.voidrequestDeleteFiles(@NotNull NSArray<? extends ICCameraItem> files)requestDeleteFiles Deletes files.@Nullable NSProgressrequestDeleteFilesDeleteFailedCompletion(@NotNull NSArray<? extends ICCameraItem> files, @NotNull ICCameraDevice.Block_requestDeleteFilesDeleteFailedCompletion_1 deleteFailed, @NotNull ICCameraDevice.Block_requestDeleteFilesDeleteFailedCompletion_2 completion)requestDeleteFiles:deleteFailed:completion Allows for deletion of an array of ICCameraItem objects, with the added ability to catch delete failures using the 'deleteFailed' block, and a completion block that will return the overall state of the request.voidrequestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo(@NotNull ICCameraFile file, @NotNull NSDictionary<java.lang.String,?> options, @NotNull ICCameraDeviceDownloadDelegate downloadDelegate, @NotNull org.moe.natj.objc.SEL selector, @Nullable org.moe.natj.general.ptr.VoidPtr contextInfo)requestDownloadFile:options:downloadDelegate:didDownloadSelector:contextInfo: Download a file from the camera.voidrequestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo(@NotNull ICCameraFile file, long offset, long length, @NotNull java.lang.Object readDelegate, @NotNull org.moe.natj.objc.SEL selector, @Nullable org.moe.natj.general.ptr.VoidPtr contextInfo)requestReadDataFromFile:atOffset:length:readDelegate:didReadDataSelector:contextInfo: This method asynchronously reads data of a specified length from a specified offset.voidrequestSendPTPCommandOutDataCompletion(@NotNull NSData ptpCommand, @Nullable NSData ptpData, @NotNull ICCameraDevice.Block_requestSendPTPCommandOutDataCompletion completion)requestSendPTPCommand:outData:completion This method asynchronously sends a PTP command to a camera.voidrequestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo(@NotNull NSData command, @Nullable NSData data, @NotNull java.lang.Object sendCommandDelegate, @NotNull org.moe.natj.objc.SEL selector, @Nullable org.moe.natj.general.ptr.VoidPtr contextInfo)requestSendPTPCommand:outData:sendCommandDelegate:sendCommandDelegate:contextInfo: This method asynchronously sends a PTP command to a camera.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetMediaPresentation(long value)[@property] mediaPresentation The media presentation describes the visible assets from a device that may contain multiple formats of each media asset.voidsetPtpEventHandler(@NotNull ICCameraDevice.Block_setPtpEventHandler value)[@property] ptpEventHandler As an alternative to setting up an object to handle PTP event packets, a handler can be set.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()booleantetheredCaptureEnabled()[@property] tetheredCaptureEnabled This property is always set to YES when the device has the capability 'ICCameraDeviceCanTakePicture' requestEnableTethering/requestDisableTethering is no longer required to setup and destroy the standard take picture functionality of supported cameras.doubletimeOffset()[@property] timeOffset Indicates the time offset, in seconds, between the camera's clock and the computer's clock.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.imagecapturecore.ICDevice
capabilities, delegate, hasOpenSession, icon, name, productKind, requestCloseSession, requestCloseSessionWithOptionsCompletion, requestEject, requestEjectWithCompletion, requestOpenSession, requestOpenSessionWithOptionsCompletion, setDelegate, setDelegate_unsafe, systemSymbolName, transportType, type, usbLocationID, usbProductID, usbVendorID, userData, UUIDString
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static ICCameraDevice alloc()
-
allocWithZone
public static ICCameraDevice allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
batteryLevel
public long batteryLevel()
[@property] batteryLevel Indicates the battery charge level. Its value ranges from 0 to 100.
-
batteryLevelAvailable
public boolean batteryLevelAvailable()
[@property] batteryLevelAvailable Indicates if the device has reported battery charge level.
-
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()
-
contentCatalogPercentCompleted
public long contentCatalogPercentCompleted()
[@property] contentCatalogPercentCompleted Indicates the percentage of content cataloging completed on the device. Its value ranges from 0 to 100. API-Since: 13.0
-
contents
@Nullable public @Nullable NSArray<? extends ICCameraItem> contents()
[@property] contents Contents of the camera. The structure of the elements in this array will reflect the folder structure of the storage reported by the camera. Each item in this array will correspond to a storage on the camera. API-Since: 13.0
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
filesOfType
@Nullable public @Nullable NSArray<java.lang.String> filesOfType(@NotNull @NotNull java.lang.String fileUTType)
filesOfType: This method returns an array of files on the camera of type fileType. The fileType string is one of the following Uniform Type Identifier strings: kUTTypeImage, kUTTypeMovie, kUTTypeAudio, or kUTTypeData. API-Since: 13.0
-
hash_static
public static long hash_static()
-
iCloudPhotosEnabled
public boolean iCloudPhotosEnabled()
[@property] iCloudPhotosEnabled Set to YES if the device is made by Apple and is pass-coded locked and connected to an untrusted host. API-Since: 13.0
-
init
public ICCameraDevice init()
-
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)
-
isAccessRestrictedAppleDevice
public boolean isAccessRestrictedAppleDevice()
[@property] accessRestrictedAppleDevice Set to YES if the device is made by Apple and is pass-coded locked and connected to an untrusted host. API-Since: 13.0
-
isEjectable
public boolean isEjectable()
[@property] ejectable Indicates whether the device can be 'soft' removed or disconnected. API-Since: 13.0
-
isLocked
public boolean isLocked()
[@property] locked Indicates whether the device is locked. A locked device does not allow for deletion of any asset. 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)
-
mediaFiles
@Nullable public @Nullable NSArray<? extends ICCameraItem> mediaFiles()
[@property] mediaFiles The property mediaFiles represents all image, movie and audio files on the camera. These files are returned as a single array without regard to the folder hierarchy used to store these files on the camera. API-Since: 13.0
-
new_objc
public static ICCameraDevice new_objc()
-
ptpEventHandler
@NotNull public @NotNull ICCameraDevice.Block_ptpEventHandler_ret ptpEventHandler()
[@property] ptpEventHandler As an alternative to setting up an object to handle PTP event packets, a handler can be set. The handler will always be called in place of the delegate if non-nil. If the handler is not present, the delegate will be called if present. It is guaranteed only one of the methods will be called if both are implemented. API-Since: 13.0
-
requestDeleteFiles
public void requestDeleteFiles(@NotNull @NotNull NSArray<? extends ICCameraItem> files)requestDeleteFiles Deletes files. API-Since: 13.0
-
requestDeleteFilesDeleteFailedCompletion
@Nullable public @Nullable NSProgress requestDeleteFilesDeleteFailedCompletion(@NotNull @NotNull NSArray<? extends ICCameraItem> files, @NotNull @NotNull ICCameraDevice.Block_requestDeleteFilesDeleteFailedCompletion_1 deleteFailed, @NotNull @NotNull ICCameraDevice.Block_requestDeleteFilesDeleteFailedCompletion_2 completion)
requestDeleteFiles:deleteFailed:completion Allows for deletion of an array of ICCameraItem objects, with the added ability to catch delete failures using the 'deleteFailed' block, and a completion block that will return the overall state of the request. The deleteFailed block will return: - NSDictionary* The completion block will return: — error: - nil if successful - NSError* with an code set to ICReturnDeleteFilesFailed if any file failed. - result: NSDictionary *>* result - ICDeleteSuccessful: NSArray * success - ICDeleteFailed: NSArray * failed API-Since: 13.0
-
requestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo
public void requestDownloadFileOptionsDownloadDelegateDidDownloadSelectorContextInfo(@NotNull @NotNull ICCameraFile file, @NotNull @NotNull NSDictionary<java.lang.String,?> options, @NotNull @NotNull ICCameraDeviceDownloadDelegate downloadDelegate, @NotNull @NotNull org.moe.natj.objc.SEL selector, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr contextInfo)requestDownloadFile:options:downloadDelegate:didDownloadSelector:contextInfo: Download a file from the camera. Please refer to the top of this header for information about the options. The downloadDelegate passed must not be nil. When this request is completed, the didDownloadSelector of the downloadDelegate object is called.The didDownloadSelector should have the same signature as: - (void)didDownloadFile:(ICCameraFile*)file error:(NSError*)error options:(NSDictionary*)options contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully. API-Since: 13.0
-
requestSendPTPCommandOutDataCompletion
public void requestSendPTPCommandOutDataCompletion(@NotNull @NotNull NSData ptpCommand, @Nullable @Nullable NSData ptpData, @NotNull @NotNull ICCameraDevice.Block_requestSendPTPCommandOutDataCompletion completion)requestSendPTPCommand:outData:completion This method asynchronously sends a PTP command to a camera. The response, data, and any error message will be returned the block. 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)
-
setPtpEventHandler
public void setPtpEventHandler(@NotNull @NotNull ICCameraDevice.Block_setPtpEventHandler value)[@property] ptpEventHandler As an alternative to setting up an object to handle PTP event packets, a handler can be set. The handler will always be called in place of the delegate if non-nil. If the handler is not present, the delegate will be called if present. It is guaranteed only one of the methods will be called if both are implemented. API-Since: 13.0
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
tetheredCaptureEnabled
public boolean tetheredCaptureEnabled()
[@property] tetheredCaptureEnabled This property is always set to YES when the device has the capability 'ICCameraDeviceCanTakePicture' requestEnableTethering/requestDisableTethering is no longer required to setup and destroy the standard take picture functionality of supported cameras.
-
timeOffset
public double timeOffset()
[@property] timeOffset Indicates the time offset, in seconds, between the camera's clock and the computer's clock. This value is positive if the camera's clock is ahead of the computer's clock. This property should be ignored if the camera's capabilities property does not contain ICCameraDeviceCanSyncClock.
-
version_static
public static long version_static()
-
mediaPresentation
public long mediaPresentation()
[@property] mediaPresentation The media presentation describes the visible assets from a device that may contain multiple formats of each media asset. The asigngments are of the type ICMediaPresentation enumeration. This property is available only if the capability ICCameraDeviceSupportsHEIF is present. A device supporting this capability can specify the following presentations: ICMediaPresentationConverted - The default behavior for applications retrieving images from a device supporting HEIF is to show only converted JPG from HEIF originals, and only H264 encoded video assets from HEVC. ICMediaPresentationOriginal - This presentation will show only original images from a device supporting HEIF and HEVC. Burned in renders are always exported in JPG, as are burned in effects for MOV clips. API-Since: 14.0
-
setMediaPresentation
public void setMediaPresentation(long value)
[@property] mediaPresentation The media presentation describes the visible assets from a device that may contain multiple formats of each media asset. The asigngments are of the type ICMediaPresentation enumeration. This property is available only if the capability ICCameraDeviceSupportsHEIF is present. A device supporting this capability can specify the following presentations: ICMediaPresentationConverted - The default behavior for applications retrieving images from a device supporting HEIF is to show only converted JPG from HEIF originals, and only H264 encoded video assets from HEVC. ICMediaPresentationOriginal - This presentation will show only original images from a device supporting HEIF and HEVC. Burned in renders are always exported in JPG, as are burned in effects for MOV clips. API-Since: 14.0
-
requestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo
public void requestReadDataFromFileAtOffsetLengthReadDelegateDidReadDataSelectorContextInfo(@NotNull @NotNull ICCameraFile file, long offset, long length, @NotNull @NotNull java.lang.Object readDelegate, @NotNull @NotNull org.moe.natj.objc.SEL selector, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr contextInfo)requestReadDataFromFile:atOffset:length:readDelegate:didReadDataSelector:contextInfo: This method asynchronously reads data of a specified length from a specified offset. The readDelegate passed must not be nil. When this request is completed, the didReadDataSelector of the readDelegate object is called. The didReadDataSelector should have the same signature as: - (void)didReadData:(NSData*)data fromFile:(ICCameraFile*)file error:(NSError*)error contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully. API-Since: 15.2
-
requestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo
public void requestSendPTPCommandOutDataSendCommandDelegateDidSendCommandSelectorContextInfo(@NotNull @NotNull NSData command, @Nullable @Nullable NSData data, @NotNull @NotNull java.lang.Object sendCommandDelegate, @NotNull @NotNull org.moe.natj.objc.SEL selector, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr contextInfo)requestSendPTPCommand:outData:sendCommandDelegate:sendCommandDelegate:contextInfo: This method asynchronously sends a PTP command to a camera. This should be sent only if the 'capabilities' property contains 'ICCameraDeviceCanAcceptPTPCommands'. All PTP cameras have this capability. The response to this command will be delivered using didSendCommandSelector of sendCommandDelegate. The didSendCommandSelector should have the same signature as: - (void)didSendPTPCommand:(NSData*)command inData:(NSData*)data response:(NSData*)response error:(NSError*)error contextInfo:(void*)contextInfo. The content of error returned should be examined to determine if the request completed successfully. API-Since: 15.2
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-