Brightsign Object Reference Manual (FW 5.1) Manuel d'utilisateur Page 168

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 341
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 167
160
roStorageInfo
This object is used to report storage device usage information.
Object Creation: The roStorageInfo object is created with a parameter that specifies the path of the storage device. The
path does not need to extend to the root of the storage device.
CreateObject("roStorageInfo", path As String)
Interfaces: ifStorageInfo
The ifStorageInfo interface provides the following:
Note: On some filesystems that have a portion of space reserved for the super-user, the following expression may not be
true: GetUsedInMegabytes + GetFreeInMegabytes == GetSizeInMegabytes
GetFailureReason() As String: Yields additional useful information if a function return indicates an error.
GetBytesPerBlock() As Integer: Returns the size of a native block on the filesystem used by the specified
storage device.
GetSizeInMegabytes() As Integer: Returns the total size (in mebibytes) of the storage device.
GetUsedInMegabytes() As Integer: Returns the amount (in mebibytes) of space currently used on the
storage device.
Note: This amount includes the size of the pool because this class does not integrate pools into its calculations.
GetFreeInMegabytes() As Integer: Returns the available space (in mebibytes) on the storage device.
GetFileSystemType() As String: Returns a string describing the type of filesystem used on the specified
storage. Potential values are fat12, fat16, fat32, ext3, ntfs, hfs, Hfsplus.
GetStorageCardInfo() As Object: Returns an associative array containing details of the storage device
hardware (a memory card, for example). For SD cards, the returned data may include the following:
Vue de la page 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 340 341

Commentaires sur ces manuels

Pas de commentaire