StorageInfo

fun StorageInfo(storageType: Int = 0, filesystemType: Int = 0, accessCapability: Int = 0, maxCapacity: Long = 0, freeSpaceInBytes: Long = 0, freeSpaceInImages: Int = 0, storageDescription: String = "", volumeLabel: String = "")

Parameters

storageType

identifies the type of storage. 0x0000 Undefined 0x0001 Fixed ROM 0x0002 Removable ROM 0x0003 Fixed RAM 0x0004 Removable RAM

filesystemType

indicates the type of filesystem present on the device. 0x0000 Undefined 0x0001 Generic Flat 0x0002 Generic Hierarchical 0x0003 DCF

accessCapability

indicates whether the store is read-write or read-only. 0x0000 Read-Write 0x0001 Read-Only without Object Deletion 0x0002 Read-Only with Object Deletion

maxCapacity

indicates the total storage capacity of the store in bytes.

freeSpaceInBytes

The amount of free space that is available in the store in bytes.

freeSpaceInImages

Number of images that fit into this store according to the current device settings.

storageDescription

human-readable text description of the storage device.

volumeLabel

volume label of the storage device, if such a label exists and is known.