Class

ICCameraFile

An object that represents a file on a camera.

Declaration

@interface ICCameraFile : ICCameraItem

Overview

Topics

Requesting Metadata

- requestMetadataDictionaryWithOptions:completion:

Requests metadata and executes the completion block in place of the delegate.

Requesting Thumbnails

- requestThumbnailDataWithOptions:completion:

Requests a thumbnail and executes the completion block in place of the delegate.

Requesting Downloads

- requestDownloadWithOptions:completion:

Requests a download and executes the completion block in place of the delegate.

Requesting Data

- requestReadDataAtOffset:length:completion:

Requests to asynchronously read data of a specified length from a specified offset, then executes the completion block.

Inspecting a File’s Name

originalFilename

The original name of the file on disk.

createdFilename

The created name of the file.

Inspecting a File's Identity

groupUUID

The group UUID of the file.

relatedUUID

A related UUID correlating several images from an Apple device.

originatingAssetID

The originating asset ID of an HEIF or HVEC file.

Determining When a File Was Created or Modified

fileCreationDate

The creation date of the file.

fileModificationDate

The modification date of the file.

Inspecting a File’s Size

fileSize

The size of the file, in bytes.

Inspecting a File’s Dimensions

width

The width of an image or movie frame.

height

The height of an image or movie frame.

Inspecting a File’s EXIF Data

orientation

The orientation to use when downloading the image.

ICEXIFOrientationType

The file’s orientation type.

exifCreationDate

The EXIF creation date of the file.

exifModificationDate

The EXIF modification date of the file.

Identifying a File’s Location

gpsString

The GPS String of the file in standard format.

Inspecting a File in a Burst

firstPicked

A Boolean value that indicates whether a file is autopicked by Photos to represent the burst.

burstUUID

The burst UUID of the file if it is in a burst.

burstFavorite

A Boolean value that indicates this file is the burst favorite in a burst.

burstPicked

A Boolean value that indicates whether this file is user picked in a burst.

Inspecting Video Properties

duration

The duration, in seconds, of an audio or video file.

highFramerate

A Boolean value that indicates whether the file is a slow motion or high-frame-rate video file.

timeLapse

A Boolean value that indicates whether the file is a time-lapse video file.

Identifying Related Files

sidecarFiles

An array of two camera files associated with this file.

pairedRawImage

A sidecar file containing the logical RAW compliment of a JPG or other two-format image.

Relationships

Inherits From

See Also

Cameras

ICCameraDevice

An object that represents a camera.

ICCameraDeviceDelegate

Methods for detecting cameras, getting metadata and thumbnails, handling access and capability changes, and performing other actions on connected cameras.

ICCameraItem

An abstract class that represents a camera item.

ICCameraFolder

An object that represents a folder on a camera.