Class ImageCaptureCore


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull java.lang.String ICAuthorizationStatusAuthorized()
      API-Since: 14.0
      static @NotNull java.lang.String ICAuthorizationStatusDenied()
      API-Since: 14.0
      static @NotNull java.lang.String ICAuthorizationStatusNotDetermined()
      API-Since: 14.0
      static @NotNull java.lang.String ICAuthorizationStatusRestricted()
      API-Since: 14.0
      static @NotNull java.lang.String ICCameraDeviceCanAcceptPTPCommands()
      [@const] ICCameraDeviceCanAcceptPTPCommands Indicates that the camera can accept PTP commands.
      static @NotNull java.lang.String ICCameraDeviceCanDeleteAllFiles()
      [@const] ICCameraDeviceCanDeleteAllFiles Indicates that the camera can delete all files in a single operation while it is connected.
      static @NotNull java.lang.String ICCameraDeviceCanDeleteOneFile()
      [@const] ICCameraDeviceCanDeleteOneFile Indicates that the camera can delete a file at a time while it is connected.
      static @NotNull java.lang.String ICCameraDeviceCanReceiveFile()
      [@const] ICCameraDeviceCanReceiveFile Indicates that the host can upload files to the camera.
      static @NotNull java.lang.String ICCameraDeviceCanSyncClock()
      [@const] ICCameraDeviceCanSyncClock Indicates that the camera can synchronize its date and time with that of the host computer.
      static @NotNull 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 @NotNull 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 @NotNull 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 @NotNull java.lang.String ICDeleteAfterSuccessfulDownload()
      [@const] ICDeleteAfterSuccessfulDownload ICDeleteAfterSuccessfulDownload The value for this key should be an NSNumber object representing a boolean value.
      static @NotNull java.lang.String ICDeleteCanceled()
      [@const] ICDeleteCanceled The value for this key should be an NSArray* API-Since: 13.0
      static @NotNull java.lang.String ICDeleteErrorCanceled()
      [@const] ICDeleteErrorDeviceMissing The value for this key should be an ICCameraItem* API-Since: 13.0
      static @NotNull java.lang.String ICDeleteErrorDeviceMissing()
      [@const] ICDeleteErrorDeviceMissing The value for this key should be an ICCameraItem* API-Since: 13.0
      static @NotNull java.lang.String ICDeleteErrorFileMissing()
      [@const] ICDeleteErrorFileMissing The value for this key should be an ICCameraItem* API-Since: 13.0
      static @NotNull java.lang.String ICDeleteErrorReadOnly()
      [@const] ICDeleteErrorReadOnly The value for this key should be an ICCameraItem* API-Since: 13.0
      static @NotNull java.lang.String ICDeleteFailed()
      [@const] ICDeleteFailed The value for this key should be an NSArray* API-Since: 13.0
      static @NotNull java.lang.String ICDeleteSuccessful()
      [@const] ICDeleteSuccessful The value for this key should be an NSArray* API-Since: 13.0
      static @NotNull 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 @NotNull java.lang.String ICDeviceLocationDescriptionBluetooth()
      [@const] ICDeviceLocationDescriptionBluetooth This description is returned for locationDescription property of a device connected via Bluetooth.
      static @NotNull java.lang.String ICDeviceLocationDescriptionFireWire()
      [@const] ICDeviceLocationDescriptionFireWire This description is returned for locationDescription property of a device connected to a FireWire port.
      static @NotNull java.lang.String ICDeviceLocationDescriptionMassStorage()
      [@const] ICDeviceLocationDescriptionMassStorage This description is returned for locationDescription property of a device that is mounted as a mass-storage volume.
      static @NotNull java.lang.String ICDeviceLocationDescriptionUSB()
      ------------------------------------------------------------------------------------------------------------------------------ Constants used for device location description.
      static @NotNull java.lang.String ICDownloadsDirectoryURL()
      [@const] ICDownloadsDirectoryURL ICDownloadsDirectoryURL The value for this key should be an NSURL object referencing a writable directory.
      static @NotNull java.lang.String ICDownloadSidecarFiles()
      [@const] ICDownloadSidecarFiles ICDownloadSidecarFiles The value for this key should be an NSNumber object representing a boolean value.
      static @NotNull java.lang.String ICEnumerationChronologicalOrder()
      API-Since: 13.0
      static java.lang.String ICErrorDomain()
      ------------------------------------------------------------------------------------------------------------------------------ [@ICEXIFOrientationType] Type representing EXIF Orientation tag value The meaning of this value is defined by the EXIF specification.
      static @NotNull java.lang.String ICImageSourceShouldCache()
      API-Since: 13.0
      static @NotNull 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 @NotNull java.lang.String ICOverwrite()
      [@const] ICOverwrite ICOverwrite The value for this key should be an NSNumber object representing a boolean value.
      static @NotNull 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 @NotNull 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 @NotNull 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 @NotNull java.lang.String ICStatusNotificationKey()
      ------------------------------------------------------------------------------------------------------------------------------ Constants used for device status notifications.
      static @NotNull java.lang.String ICTransportTypeExFAT()
      [@const] ICTransportTypeExFAT Indicates that the device use mounts as a exFat storage volume.
      static @NotNull java.lang.String ICTransportTypeMassStorage()
      [@const] ICTransportTypeMassStorage Indicates that the device use mounts as a mass-storage volume.
      static @NotNull java.lang.String ICTransportTypeProximity()
      [@const] ICTransportTypeProximity Indicates that the device transport is based on proximity instead of a predefined phyiscal layer.
      static @NotNull java.lang.String ICTransportTypeTCPIP()
      [@const] ICTransportTypeTCPIP Indicates that the device uses TCP/IP transport.
      static @NotNull java.lang.String ICTransportTypeUSB()
      [@const] ICTransportTypeUSB Indicates that the device uses USB transport.
      static @NotNull 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

        @NotNull
        public static @NotNull java.lang.String ICTransportTypeUSB()
        [@const] ICTransportTypeUSB Indicates that the device uses USB transport. API-Since: 13.0
      • ICTransportTypeMassStorage

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

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

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

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

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICEnumerationChronologicalOrder

        @NotNull
        public static @NotNull java.lang.String ICEnumerationChronologicalOrder()
        API-Since: 13.0
      • 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 API-Since: 13.0
      • ICImageSourceThumbnailMaxPixelSize

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICImageSourceShouldCache

        @NotNull
        public static @NotNull java.lang.String ICImageSourceShouldCache()
        API-Since: 13.0
      • ICDownloadsDirectoryURL

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICSaveAsFilename

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICSavedFilename

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICSavedAncillaryFiles

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICOverwrite

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICDeleteAfterSuccessfulDownload

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICDownloadSidecarFiles

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICCameraDeviceCanTakePicture

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera

        @NotNull
        public static @NotNull 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. API-Since: 13.0
      • ICCameraDeviceCanDeleteOneFile

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

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

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

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

        @NotNull
        public static @NotNull java.lang.String ICCameraDeviceCanAcceptPTPCommands()
        [@const] ICCameraDeviceCanAcceptPTPCommands Indicates that the camera can accept PTP commands. API-Since: 13.0
      • ICDeleteSuccessful

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

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

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

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

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

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

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

        @NotNull
        public static @NotNull 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. API-Since: 14.0
      • ICCameraDeviceSupportsHEIF

        @NotNull
        public static @NotNull 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. API-Since: 14.0
      • ICAuthorizationStatusNotDetermined

        @NotNull
        public static @NotNull java.lang.String ICAuthorizationStatusNotDetermined()
        API-Since: 14.0
      • ICAuthorizationStatusRestricted

        @NotNull
        public static @NotNull java.lang.String ICAuthorizationStatusRestricted()
        API-Since: 14.0
      • ICAuthorizationStatusDenied

        @NotNull
        public static @NotNull java.lang.String ICAuthorizationStatusDenied()
        API-Since: 14.0
      • ICAuthorizationStatusAuthorized

        @NotNull
        public static @NotNull java.lang.String ICAuthorizationStatusAuthorized()
        API-Since: 14.0
      • ICDeviceLocationDescriptionUSB

        @NotNull
        public static @NotNull java.lang.String ICDeviceLocationDescriptionUSB()
        ------------------------------------------------------------------------------------------------------------------------------ Constants used for device location description. [@const] ICDeviceLocationDescriptionUSB This description is returned for locationDescription property of a device connected to a USB port. API-Since: 16.0
      • ICDeviceLocationDescriptionFireWire

        @NotNull
        public static @NotNull java.lang.String ICDeviceLocationDescriptionFireWire()
        [@const] ICDeviceLocationDescriptionFireWire This description is returned for locationDescription property of a device connected to a FireWire port. API-Since: 16.0
      • ICDeviceLocationDescriptionBluetooth

        @NotNull
        public static @NotNull java.lang.String ICDeviceLocationDescriptionBluetooth()
        [@const] ICDeviceLocationDescriptionBluetooth This description is returned for locationDescription property of a device connected via Bluetooth. API-Since: 16.0
      • ICDeviceLocationDescriptionMassStorage

        @NotNull
        public static @NotNull java.lang.String ICDeviceLocationDescriptionMassStorage()
        [@const] ICDeviceLocationDescriptionMassStorage This description is returned for locationDescription property of a device that is mounted as a mass-storage volume. API-Since: 16.0
      • ICTransportTypeProximity

        @NotNull
        public static @NotNull java.lang.String ICTransportTypeProximity()
        [@const] ICTransportTypeProximity Indicates that the device transport is based on proximity instead of a predefined phyiscal layer. API-Since: 17.0