This service determines if a media file is compatible with a particular device. More...
import"sbIDeviceCapsCompatibility.idl";
Public Member Functions | |
void | initialize (in sbIDeviceCapabilities aDeviceCapabilities, in sbIMediaFormat aMediaFormat, in unsigned long aContentType) |
Initializes the device capabilities, media format and media content type of the form sbIDeviceCapabilities::CONTENT_*. More... | |
boolean | compare () |
Compare the media file format with device capabilities to determine whether they are compatible. More... | |
This service determines if a media file is compatible with a particular device.
Definition at line 41 of file sbIDeviceCapsCompatibility.idl.
boolean sbIDeviceCapsCompatibility::compare | ( | ) |
Compare the media file format with device capabilities to determine whether they are compatible.
void sbIDeviceCapsCompatibility::initialize | ( | in sbIDeviceCapabilities | aDeviceCapabilities, |
in sbIMediaFormat | aMediaFormat, | ||
in unsigned long | aContentType | ||
) |
Initializes the device capabilities, media format and media content type of the form sbIDeviceCapabilities::CONTENT_*.
aDeviceVideoFormat | Device video format from the device capabilities. |
aMediaFormat | Media format from media inspector. |
aContentType | Content type of form sbIDeviceCapabilities::CONTENT_* for the media item to transfer. |