EOSFileInfo Class Reference
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.
Tasks
Properties
-
size
property -
isDirectory
property -
groupID
property -
name
property -
imageFormat
property
Initialization
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
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
Return Value
The intialized EOSFileInfo instance.
Declared In
EOSFile.h