Inherits from NSObject
Declared in EOSFile.h
EOSFile.m

Overview

The EOSFileInfo class is used to store infomation about a file stored on a camera. Instances of this class will typically be created by the [EOSFile info:] method.

Properties

groupID

The group ID of the file.

@property NSUInteger groupID

Discussion

The same group ID is assigned to files that belong to the same group, such as RAW+JPEG images or RAW+AVI images.

Declared In

EOSFile.h

imageFormat

The image format of the file.

@property EOSImageFormat imageFormat

Discussion

If the file is not an image, this value will be EOSImageType_Unknown.

Declared In

EOSFile.h

isDirectory

Indicates whether the file is a directory.

@property BOOL isDirectory

Declared In

EOSFile.h

name

The name of the file.

@property NSString *name

Declared In

EOSFile.h

size

The size of the file, in bytes.

@property NSUInteger size

Discussion

If the file is a directory, this value will be 0.

Declared In

EOSFile.h

Instance Methods

initWithDirectoryItemInfo:

Initializes a newly allocated EOSFileInfo instance with the properties of an EdsDirectoryItemInfo struct.

- (id)initWithDirectoryItemInfo:(EdsDirectoryItemInfo)fileInfo

Parameters

fileInfo

An EdsDirectoryItemInfo struct.

Return Value

The intialized EOSFileInfo object.

Declared In

EOSFile.h

initWithSize:isDirectory:groupID:name:imageFormat:

Initializes a newly allocated EOSFileInfo instance with all of it’s properties.

- (id)initWithSize:(NSUInteger)size isDirectory:(BOOL)isDirectory groupID:(NSUInteger)groupID name:(NSString *)name imageFormat:(EOSImageFormat)imageFormat

Parameters

size

size

isDirectory

isDirectory

groupID

groupID

name

name

imageFormat

imageFormat

Return Value

The intialized EOSFileInfo instance.

Declared In

EOSFile.h