sbIDeviceCapsCompatibility Interface Reference

This service determines if a media file is compatible with a particular device. More...

import"sbIDeviceCapsCompatibility.idl";

Inheritance diagram for sbIDeviceCapsCompatibility:
[legend]
Collaboration diagram for sbIDeviceCapsCompatibility:
[legend]

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...
 

Detailed Description

This service determines if a media file is compatible with a particular device.

Definition at line 41 of file sbIDeviceCapsCompatibility.idl.

Member Function Documentation

boolean sbIDeviceCapsCompatibility::compare ( )

Compare the media file format with device capabilities to determine whether they are compatible.

Returns
true if 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_*.

Parameters
aDeviceVideoFormatDevice video format from the device capabilities.
aMediaFormatMedia format from media inspector.
aContentTypeContent type of form sbIDeviceCapabilities::CONTENT_* for the media item to transfer.

The documentation for this interface was generated from the following file: