public final class ImageCaptureCore
extends java.lang.Object
| Modifier and Type | Method and 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
|
static java.lang.String |
ICCameraDeviceCanDeleteAllFiles()
[@const] ICCameraDeviceCanDeleteAllFiles
|
static java.lang.String |
ICCameraDeviceCanDeleteOneFile()
[@const] ICCameraDeviceCanDeleteOneFile
|
static java.lang.String |
ICCameraDeviceCanReceiveFile()
[@const] ICCameraDeviceCanReceiveFile
|
static java.lang.String |
ICCameraDeviceCanSyncClock()
[@const] ICCameraDeviceCanSyncClock
|
static java.lang.String |
ICCameraDeviceCanTakePicture()
[@const] ICCameraDeviceCanTakePicture
|
static java.lang.String |
ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera()
[@const] ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera
|
static java.lang.String |
ICCameraDeviceSupportsHEIF()
[@const] ICCameraDeviceSupportsHEIF
|
static java.lang.String |
ICDeleteAfterSuccessfulDownload()
[@const] ICDeleteAfterSuccessfulDownload
|
static java.lang.String |
ICDeleteCanceled()
[@const] ICDeleteCanceled
|
static java.lang.String |
ICDeleteErrorCanceled()
[@const] ICDeleteErrorDeviceMissing
|
static java.lang.String |
ICDeleteErrorDeviceMissing()
[@const] ICDeleteErrorDeviceMissing
|
static java.lang.String |
ICDeleteErrorFileMissing()
[@const] ICDeleteErrorFileMissing
|
static java.lang.String |
ICDeleteErrorReadOnly()
[@const] ICDeleteErrorReadOnly
|
static java.lang.String |
ICDeleteFailed()
[@const] ICDeleteFailed
|
static java.lang.String |
ICDeleteSuccessful()
[@const] ICDeleteSuccessful
|
static java.lang.String |
ICDeviceCanEjectOrDisconnect()
------------------------------------------------------------------------------------------------------------------------------
Constants used to describe capabilities of a device
[@const] ICDeviceCanEjectOrDisconnect
|
static java.lang.String |
ICDownloadsDirectoryURL()
[@const] ICDownloadsDirectoryURL
|
static java.lang.String |
ICDownloadSidecarFiles()
[@const] ICDownloadSidecarFiles
|
static java.lang.String |
ICEnumerationChronologicalOrder() |
static java.lang.String |
ICErrorDomain()
------------------------------------------------------------------------------------------------------------------------------
[@ICEXIFOrientationType]
|
static java.lang.String |
ICImageSourceShouldCache() |
static java.lang.String |
ICImageSourceThumbnailMaxPixelSize()
[@const] ICCameraItemThumbnailOption
|
static java.lang.String |
ICOverwrite()
[@const] ICOverwrite
|
static java.lang.String |
ICSaveAsFilename()
[@const] ICSaveAsFilename
|
static java.lang.String |
ICSavedAncillaryFiles()
[@const] ICSavedAncillaryFiles
|
static java.lang.String |
ICSavedFilename()
[@const] ICSavedFilename
|
static java.lang.String |
ICStatusNotificationKey()
------------------------------------------------------------------------------------------------------------------------------
Constants used for device status notifications.
|
static java.lang.String |
ICTransportTypeExFAT()
[@const] ICTransportTypeExFAT
|
static java.lang.String |
ICTransportTypeMassStorage()
[@const] ICTransportTypeMassStorage
|
static java.lang.String |
ICTransportTypeTCPIP()
[@const] ICTransportTypeTCPIP
|
static java.lang.String |
ICTransportTypeUSB()
[@const] ICTransportTypeUSB
|
static java.lang.String |
ICTruncateAfterSuccessfulDownload()
[@const] ICTruncateAfterSuccessfulDownload
|
public static java.lang.String ICTransportTypeUSB()
Indicates that the device uses USB transport.
public static java.lang.String ICTransportTypeMassStorage()
Indicates that the device use mounts as a mass-storage volume.
public static java.lang.String ICTransportTypeExFAT()
Indicates that the device use mounts as a exFat storage volume.
public static java.lang.String ICTransportTypeTCPIP()
Indicates that the device uses TCP/IP transport. These devices are discovered using Bonjour.
public static java.lang.String ICStatusNotificationKey()
Key for a non-localized notification string.
public static java.lang.String 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.
public static java.lang.String ICEnumerationChronologicalOrder()
public static java.lang.String ICErrorDomain()
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
public static java.lang.String ICImageSourceThumbnailMaxPixelSize()
[@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.
public static java.lang.String ICImageSourceShouldCache()
public static java.lang.String 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.
public static java.lang.String ICSaveAsFilename()
ICSaveAsFilename
The value for this key should be an NSString object containing the name to be used for the downloaded file.
public static java.lang.String 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.
public static java.lang.String 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.
public static java.lang.String 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.
public static java.lang.String 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.
public static java.lang.String 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.
public static java.lang.String ICCameraDeviceCanTakePicture()
Indicates that the camera can capture a picture while it is connected, if the client sends a 'requestTakePicture' message to it.
public static java.lang.String ICCameraDeviceCanTakePictureUsingShutterReleaseOnCamera()
Indicates that the camera can capture a picture while it is connected, if the user presses the shutter release on the camera.
public static java.lang.String ICCameraDeviceCanDeleteOneFile()
Indicates that the camera can delete a file at a time while it is connected.
public static java.lang.String ICCameraDeviceCanDeleteAllFiles()
Indicates that the camera can delete all files in a single operation while it is connected.
public static java.lang.String ICCameraDeviceCanSyncClock()
Indicates that the camera can synchronize its date and time with that of the host computer.
public static java.lang.String ICCameraDeviceCanReceiveFile()
Indicates that the host can upload files to the camera.
public static java.lang.String ICCameraDeviceCanAcceptPTPCommands()
Indicates that the camera can accept PTP commands.
public static java.lang.String ICDeleteSuccessful()
The value for this key should be an NSArray
public static java.lang.String ICDeleteCanceled()
The value for this key should be an NSArray
public static java.lang.String ICDeleteFailed()
The value for this key should be an NSArray
public static java.lang.String ICDeleteErrorReadOnly()
The value for this key should be an ICCameraItem*
public static java.lang.String ICDeleteErrorFileMissing()
The value for this key should be an ICCameraItem*
public static java.lang.String ICDeleteErrorDeviceMissing()
The value for this key should be an ICCameraItem*
public static java.lang.String ICDeleteErrorCanceled()
The value for this key should be an ICCameraItem*
public static java.lang.String 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.
public static java.lang.String ICCameraDeviceSupportsHEIF()
Indicates that the camera supports HEIF transcoding, and can change the presentation of converted assets and original assets on the fly.
public static java.lang.String ICAuthorizationStatusNotDetermined()
public static java.lang.String ICAuthorizationStatusRestricted()
public static java.lang.String ICAuthorizationStatusDenied()
public static java.lang.String ICAuthorizationStatusAuthorized()