|static nsresult||DecorateMediaItem (sbIDevice *aDevice, sbIMediaItem *aMediaItem, const nsAString &aImportType)|
A class for adjusting the properties of media items when imported from a device. Rules for which media items to adjust and how are specified by <import> elements in device info XML files. Those rules are resolved in device add-ons (e.g., the MTP add-on) before invoking this class.
Add or modify properties of aMediaItem according to aImportType
|aDevice||The device on which the media item content resides|
|aMediaItem||A media item to decorate according to aImportType|
|aImportType||A symbolic name that determines how to decorate aMediaItem, such as what properties to add and how to compute their values. Recognized types are: fm-recording voice-recording|