Class ImageCaptureCore


  • public final class ImageCaptureCore
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String ICAuthorizationStatusAuthorized()  
      static java.lang.String ICAuthorizationStatusDenied()  
      static java.lang.String ICAuthorizationStatusNotDetermined()  
      static java.lang.String ICAuthorizationStatusRestricted()  
      static java.lang.String ICCameraDeviceCanAcceptPTPCommands()
      [@const] ICCameraDeviceCanAcceptPTPCommands Indicates that the camera can accept PTP commands.
      static java.lang.String ICCameraDeviceCanDeleteAllFiles()
      [@const] ICCameraDeviceCanDeleteAllFiles Indicates that the camera can delete all files in a single operation while it is connected.
      static java.lang.String ICCameraDeviceCanDeleteOneFile()
      [@const] ICCameraDeviceCanDeleteOneFile Indicates that the camera can delete a file at a time while it is connected.
      static java.lang.String ICCameraDeviceCanReceiveFile()
      [@const] ICCameraDeviceCanReceiveFile Indicates that the host can upload files to the camera.
      static java.lang.String ICCameraDeviceCanSyncClock()
      [@const] ICCameraDeviceCanSyncClock Indicates that the camera can synchronize its date and time with that of the host computer.
      static java.lang.String ICCameraDeviceCanTakePicture()
      [@const] ICCameraDeviceCanTakePicture Indicates that the camera can capture a picture while it is connected, if the client sends a 'requestTakePicture' message to it.
      static java.lang.String ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera()
      [@const] ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera Indicates that the camera can capture a picture while it is connected, if the user presses the shutter release on the camera.
      static java.lang.String ICCameraDeviceSupportsHEIF()
      [@const] ICCameraDeviceSupportsHEIF Indicates that the camera supports HEIF transcoding, and can change the presentation of converted assets and original assets on the fly.
      static java.lang.String ICDeleteAfterSuccessfulDownload()
      [@const] ICDeleteAfterSuccessfulDownload ICDeleteAfterSuccessfulDownload The value for this key should be an NSNumber object representing a boolean value.
      static java.lang.String ICDeleteCanceled()
      [@const] ICDeleteCanceled The value for this key should be an NSArray*
      static java.lang.String ICDeleteErrorCanceled()
      [@const] ICDeleteErrorDeviceMissing The value for this key should be an ICCameraItem*
      static java.lang.String ICDeleteErrorDeviceMissing()
      [@const] ICDeleteErrorDeviceMissing The value for this key should be an ICCameraItem*
      static java.lang.String ICDeleteErrorFileMissing()
      [@const] ICDeleteErrorFileMissing The value for this key should be an ICCameraItem*
      static java.lang.String ICDeleteErrorReadOnly()
      [@const] ICDeleteErrorReadOnly The value for this key should be an ICCameraItem*
      static java.lang.String ICDeleteFailed()
      [@const] ICDeleteFailed The value for this key should be an NSArray*
      static java.lang.String ICDeleteSuccessful()
      [@const] ICDeleteSuccessful The value for this key should be an NSArray*
      static java.lang.String ICDeviceCanEjectOrDisconnect()
      ------------------------------------------------------------------------------------------------------------------------------ Constants used to describe capabilities of a device [@const] ICDeviceCanEjectOrDisconnect Indicates either the device is mounted as a mass-storage volume and can be ejected or the it is a remote device with an active connection that can be disconnected.
      static java.lang.String ICDownloadsDirectoryURL()
      [@const] ICDownloadsDirectoryURL ICDownloadsDirectoryURL The value for this key should be an NSURL object referencing a writable directory.
      static java.lang.String ICDownloadSidecarFiles()
      [@const] ICDownloadSidecarFiles ICDownloadSidecarFiles The value for this key should be an NSNumber object representing a boolean value.
      static java.lang.String ICEnumerationChronologicalOrder()  
      static java.lang.String ICErrorDomain()
      ------------------------------------------------------------------------------------------------------------------------------ [@ICEXIFOrientationType] Type representing EXIF Orientation tag value The meaning of this value is defined by the EXIF specification.
      static java.lang.String ICImageSourceShouldCache()  
      static java.lang.String ICImageSourceThumbnailMaxPixelSize()
      [@const] ICCameraItemThumbnailOption [@enum] ICImageSourceShouldCache Use of this key will override any custom thumbnail size requested, ignoring the ICImageSourceThumbnailMaxPixelSize option entirely.
      static java.lang.String ICOverwrite()
      [@const] ICOverwrite ICOverwrite The value for this key should be an NSNumber object representing a boolean value.
      static java.lang.String ICSaveAsFilename()
      [@const] ICSaveAsFilename ICSaveAsFilename The value for this key should be an NSString object containing the name to be used for the downloaded file.
      static java.lang.String ICSavedAncillaryFiles()
      [@const] ICSavedAncillaryFiles ICSavedAncillaryFiles The value for this key will be an NSArray object containing names of files associated with the primary file that is downloaded.
      static java.lang.String ICSavedFilename()
      [@const] ICSavedFilename ICSavedFilename The value for this key will be an NSString object containing the actual name of the saved file.
      static java.lang.String ICStatusNotificationKey()
      ------------------------------------------------------------------------------------------------------------------------------ Constants used for device status notifications.
      static java.lang.String ICTransportTypeExFAT()
      [@const] ICTransportTypeExFAT Indicates that the device use mounts as a exFat storage volume.
      static java.lang.String ICTransportTypeMassStorage()
      [@const] ICTransportTypeMassStorage Indicates that the device use mounts as a mass-storage volume.
      static java.lang.String ICTransportTypeTCPIP()
      [@const] ICTransportTypeTCPIP Indicates that the device uses TCP/IP transport.
      static java.lang.String ICTransportTypeUSB()
      [@const] ICTransportTypeUSB Indicates that the device uses USB transport.
      static java.lang.String ICTruncateAfterSuccessfulDownload()
      [@const] ICTruncateAfterSuccessfulDownload The value for this key should be an NSNumber object representing a boolean value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ICTransportTypeUSB

        public static java.lang.String ICTransportTypeUSB()
        [@const] ICTransportTypeUSB Indicates that the device uses USB transport.
      • ICTransportTypeMassStorage

        public static java.lang.String ICTransportTypeMassStorage()
        [@const] ICTransportTypeMassStorage Indicates that the device use mounts as a mass-storage volume.
      • ICTransportTypeExFAT

        public static java.lang.String ICTransportTypeExFAT()
        [@const] ICTransportTypeExFAT Indicates that the device use mounts as a exFat storage volume.
      • ICTransportTypeTCPIP

        public static java.lang.String ICTransportTypeTCPIP()
        [@const] ICTransportTypeTCPIP Indicates that the device uses TCP/IP transport. These devices are discovered using Bonjour.
      • ICStatusNotificationKey

        public static java.lang.String ICStatusNotificationKey()
        ------------------------------------------------------------------------------------------------------------------------------ Constants used for device status notifications. [@const] ICStatusNotificationKey Key for a non-localized notification string.
      • ICDeviceCanEjectOrDisconnect

        public static java.lang.String ICDeviceCanEjectOrDisconnect()
        ------------------------------------------------------------------------------------------------------------------------------ Constants used to describe capabilities of a device [@const] ICDeviceCanEjectOrDisconnect Indicates either the device is mounted as a mass-storage volume and can be ejected or the it is a remote device with an active connection that can be disconnected.
      • ICEnumerationChronologicalOrder

        public static java.lang.String ICEnumerationChronologicalOrder()
      • ICErrorDomain

        public static java.lang.String ICErrorDomain()
        ------------------------------------------------------------------------------------------------------------------------------ [@ICEXIFOrientationType] Type representing EXIF Orientation tag value The meaning of this value is defined by the EXIF specification. Here is what the letter F would look like if it were tagged correctly and displayed by a program that ignores the orientation tag (thus showing the stored image): 1 2 3 4 8888888 8888888 88 88 88 88 88 88 8888 8888 8888 8888 88 88 88 88 88 88 8888888 8888888 5 6 7 8 8888888888 88 88 8888888888 88 88 88 88 88 88 88 88 88 8888888888 8888888888 88
      • ICImageSourceThumbnailMaxPixelSize

        public static java.lang.String ICImageSourceThumbnailMaxPixelSize()
        [@const] ICCameraItemThumbnailOption [@enum] ICImageSourceShouldCache Use of this key will override any custom thumbnail size requested, ignoring the ICImageSourceThumbnailMaxPixelSize option entirely. [@enum] ICImageSourceThumbnailMaxPixelSize Use of this key will be ignored if ICImageSourceShouldCache has also been passed in. Custom thumbnail requests will never be cached. Only the embedded EXIF thumbnail, or a created thumbnail of EXIF standard size (160x120) will be cached. Use of the ICImageSourceShouldCache flag is discouraged, as the framework shall not act as a backing store out of convienence. If use of this flag is required, it is highly recommeded to only keep the image cached within the framework temporarily, using the method -[ICCameraItem flushThumbnailCache] to evict the thumbnail. Multiple calls to both cache the EXIF thumbnail, and subsequently retrieve a larger thumbnail will work as defined.
      • ICImageSourceShouldCache

        public static java.lang.String ICImageSourceShouldCache()
      • ICDownloadsDirectoryURL

        public static java.lang.String ICDownloadsDirectoryURL()
        [@const] ICDownloadsDirectoryURL ICDownloadsDirectoryURL The value for this key should be an NSURL object referencing a writable directory. The downloaded files will be saved in that directory.
      • ICSaveAsFilename

        public static java.lang.String ICSaveAsFilename()
        [@const] ICSaveAsFilename ICSaveAsFilename The value for this key should be an NSString object containing the name to be used for the downloaded file.
      • ICSavedFilename

        public static java.lang.String ICSavedFilename()
        [@const] ICSavedFilename ICSavedFilename The value for this key will be an NSString object containing the actual name of the saved file. The options dictionary returned in didDownloadFile:error:options:contextInfo: will have this key.
      • ICSavedAncillaryFiles

        public static java.lang.String ICSavedAncillaryFiles()
        [@const] ICSavedAncillaryFiles ICSavedAncillaryFiles The value for this key will be an NSArray object containing names of files associated with the primary file that is downloaded. The options dictionary returned in didDownloadFile:error:options:contextInfo: may have this key.
      • ICOverwrite

        public static java.lang.String ICOverwrite()
        [@const] ICOverwrite ICOverwrite The value for this key should be an NSNumber object representing a boolean value. If this value is YES, the downloaded file will overwrite an existing file with the same name and extension.
      • ICDeleteAfterSuccessfulDownload

        public static java.lang.String ICDeleteAfterSuccessfulDownload()
        [@const] ICDeleteAfterSuccessfulDownload ICDeleteAfterSuccessfulDownload The value for this key should be an NSNumber object representing a boolean value. If this value is YES, the file will be deleted from the device after it is succcessfully downloaded.
      • ICDownloadSidecarFiles

        public static java.lang.String ICDownloadSidecarFiles()
        [@const] ICDownloadSidecarFiles ICDownloadSidecarFiles The value for this key should be an NSNumber object representing a boolean value. If this value is YES, all sidecar files will be downloaded along with the media file.
      • ICCameraDeviceCanTakePicture

        public static java.lang.String ICCameraDeviceCanTakePicture()
        [@const] ICCameraDeviceCanTakePicture Indicates that the camera can capture a picture while it is connected, if the client sends a 'requestTakePicture' message to it.
      • ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera

        public static java.lang.String ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera()
        [@const] ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera Indicates that the camera can capture a picture while it is connected, if the user presses the shutter release on the camera.
      • ICCameraDeviceCanDeleteOneFile

        public static java.lang.String ICCameraDeviceCanDeleteOneFile()
        [@const] ICCameraDeviceCanDeleteOneFile Indicates that the camera can delete a file at a time while it is connected.
      • ICCameraDeviceCanDeleteAllFiles

        public static java.lang.String ICCameraDeviceCanDeleteAllFiles()
        [@const] ICCameraDeviceCanDeleteAllFiles Indicates that the camera can delete all files in a single operation while it is connected.
      • ICCameraDeviceCanSyncClock

        public static java.lang.String ICCameraDeviceCanSyncClock()
        [@const] ICCameraDeviceCanSyncClock Indicates that the camera can synchronize its date and time with that of the host computer.
      • ICCameraDeviceCanReceiveFile

        public static java.lang.String ICCameraDeviceCanReceiveFile()
        [@const] ICCameraDeviceCanReceiveFile Indicates that the host can upload files to the camera.
      • ICCameraDeviceCanAcceptPTPCommands

        public static java.lang.String ICCameraDeviceCanAcceptPTPCommands()
        [@const] ICCameraDeviceCanAcceptPTPCommands Indicates that the camera can accept PTP commands.
      • ICDeleteSuccessful

        public static java.lang.String ICDeleteSuccessful()
        [@const] ICDeleteSuccessful The value for this key should be an NSArray*
      • ICDeleteCanceled

        public static java.lang.String ICDeleteCanceled()
        [@const] ICDeleteCanceled The value for this key should be an NSArray*
      • ICDeleteFailed

        public static java.lang.String ICDeleteFailed()
        [@const] ICDeleteFailed The value for this key should be an NSArray*
      • ICDeleteErrorReadOnly

        public static java.lang.String ICDeleteErrorReadOnly()
        [@const] ICDeleteErrorReadOnly The value for this key should be an ICCameraItem*
      • ICDeleteErrorFileMissing

        public static java.lang.String ICDeleteErrorFileMissing()
        [@const] ICDeleteErrorFileMissing The value for this key should be an ICCameraItem*
      • ICDeleteErrorDeviceMissing

        public static java.lang.String ICDeleteErrorDeviceMissing()
        [@const] ICDeleteErrorDeviceMissing The value for this key should be an ICCameraItem*
      • ICDeleteErrorCanceled

        public static java.lang.String ICDeleteErrorCanceled()
        [@const] ICDeleteErrorDeviceMissing The value for this key should be an ICCameraItem*
      • ICTruncateAfterSuccessfulDownload

        public static java.lang.String ICTruncateAfterSuccessfulDownload()
        [@const] ICTruncateAfterSuccessfulDownload The value for this key should be an NSNumber object representing a boolean value. If this value is YES, and the file is a JPG converted from HEIC on device, the padding will be stripped from the end of the file. Note that the file size property of the ICCameraItem object will not be updated to reflect the newly truncated image. This option has no effect for images coming from devices without the ability to convert from HEIC to JPG.
      • ICCameraDeviceSupportsHEIF

        public static java.lang.String ICCameraDeviceSupportsHEIF()
        [@const] ICCameraDeviceSupportsHEIF Indicates that the camera supports HEIF transcoding, and can change the presentation of converted assets and original assets on the fly.
      • ICAuthorizationStatusNotDetermined

        public static java.lang.String ICAuthorizationStatusNotDetermined()
      • ICAuthorizationStatusRestricted

        public static java.lang.String ICAuthorizationStatusRestricted()
      • ICAuthorizationStatusDenied

        public static java.lang.String ICAuthorizationStatusDenied()
      • ICAuthorizationStatusAuthorized

        public static java.lang.String ICAuthorizationStatusAuthorized()