Home > Language Reference > Classes > VFSVolume

MediaType Property

Media type.

Syntax

Public Property Get MediaType() As HbMediaType

Remarks

The MediaType property returns the inserted card type. Like most functionality of this object, calling this method without having previously initialized a valid volume reference in the Reference property will cause a runtime error.

The return value of this property can be one of the following constants:

Constant ValueDescription
hbMediaMemoryStick&H6D73746BMemory Stick
hbMediaCompactFlash&H63667368Compact Flash
hbMediaSecureDigital&H73646967Secure Digital
hbMediaMultiMediaCard&H6D6D6364MultiMedia Card
hbMediaSmartMedia&H736D6564Smart Media
hbMediaRAMDisk&H72616D64A RAM disk based media
hbMediaInternalDrive&H49736472Internal Drive
hbMediaInternalDriveT5&H54464653Internal Drive on some Tungsten devices.
hbMediaHardDrive&H4844534BHard Disk
hbMediaEmulator&H706F7365Host file system emulated by the Palm OS® Emulator

See also Expansion cards and the VFSDemo sample.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0Requires an expansion slot.