Local Media Subsystem Overview

Provides the logical device driver for the internal and removable storage media on a phone.

Purpose

The local media sub-system allows the Symbian platform file system and other programs to communicate with local media devices.

Required background

The local media sub-system requires an understanding of the Symbian platform file system and local media devices.

Key concepts and terms

local drive

A media drive mounted within the phone.

Architecture

The TBusLocalDrive class provides an interface to the local media sub-system. Each instance of this class represents a channel of communication with a local drive. To establish a channel a client connects an instance of the class to a specified drive. The file server contains 16 instances of TBusLocalDrive, one for each local drive. Programs other than the file server may also create instances to access a local drive. Drives are abstracted by the TDrive class.

Local Media Sub-system Summary

The local media subsystem provides the following:

  • Local media LDD

    elocd.ldd

    The kernel-side logical device driver which implements communication between physical devices and applications which use them.

Typical uses

The TBusLocalDrive class is used to connect to and disconnect from local drives, to read to and write from them, to provide information about the capabilities of the drives, to format them, and to mount and remount drives on specified media drivers.

Local media subsystem:

  • Manages device connections

  • Manages data transfer

  • Handles notifications and device configuration.