EOSVolumeInfo Class Reference
Inherits from | NSObject |
Declared in | EOSVolume.h EOSVolume.m |
Overview
The EOSVolumeInfo class is used to store infomation about a volume that is mounted on a camera. Instances of this class will typically be created by the [EOSVolume info:] method.
Tasks
Properties
-
name
property -
storageType
property -
access
property -
capacity
property -
available
property
Initialization
Properties
access
The type of access, as defined in EOSAccess
@property EOSAccess access
Discussion
The type of access, as defined in EOSAccess
Declared In
EOSVolume.h
available
The space available on the volume, in bytes
@property UInt64 available
Discussion
The space available on the volume, in bytes
Declared In
EOSVolume.h
capacity
The total capacity of the volume, in bytes
@property UInt64 capacity
Discussion
The total capacity of the volume, in bytes
Declared In
EOSVolume.h
name
The name of the volume
@property NSString *name
Discussion
The name of the volume
Declared In
EOSVolume.h
storageType
The type of storage, as defined in EOSStorageType
@property EOSStorageType storageType
Discussion
The type of storage, as defined in EOSStorageType
Declared In
EOSVolume.h
Instance Methods
initWithName:storageType:access:capacity:available:
Initializes a newly allocated EOSVolumeInfo instance with all of its properties.
- (id)initWithName:(NSString *)name storageType:(EOSStorageType)storageType access:(EOSAccess)access capacity:(UInt64)capacity available:(UInt64)available
Return Value
The intialized EOSVolumeInfo object.
Declared In
EOSVolume.h
initWithVolumeInfo:
Initializes a newly allocated EOSVolumeInfo instance with the properties of an EdsVolumeInfo struct.
- (id)initWithVolumeInfo:(EdsVolumeInfo)volumeInfo
Parameters
- volumeInfo
An EdsVolumeInfo struct.
Return Value
The intialized EOSFileInfo object.
Declared In
EOSVolume.h