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
-
nameproperty -
storageTypeproperty -
accessproperty -
capacityproperty -
availableproperty
Initialization
Properties
access
The type of access, as defined in EOSAccess
@property EOSAccess accessDiscussion
The type of access, as defined in EOSAccess
Declared In
EOSVolume.havailable
The space available on the volume, in bytes
@property UInt64 availableDiscussion
The space available on the volume, in bytes
Declared In
EOSVolume.hcapacity
The total capacity of the volume, in bytes
@property UInt64 capacityDiscussion
The total capacity of the volume, in bytes
Declared In
EOSVolume.hname
The name of the volume
@property NSString *nameDiscussion
The name of the volume
Declared In
EOSVolume.hstorageType
The type of storage, as defined in EOSStorageType
@property EOSStorageType storageTypeDiscussion
The type of storage, as defined in EOSStorageType
Declared In
EOSVolume.hInstance 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)availableReturn Value
The intialized EOSVolumeInfo object.
Declared In
EOSVolume.hinitWithVolumeInfo:
Initializes a newly allocated EOSVolumeInfo instance with the properties of an EdsVolumeInfo struct.
- (id)initWithVolumeInfo:(EdsVolumeInfo)volumeInfoParameters
- volumeInfo
An EdsVolumeInfo struct.
Return Value
The intialized EOSFileInfo object.
Declared In
EOSVolume.h