sbIMediaTranscoderCallback Interface Reference

A callback to inform upon the status of a transcode operation. More...

List of all members.

Public Member Functions

void onTranscodeBegin (in AString aInputURL, in AString aOutputURL, in sbIMediaType aOutputType)
 The transcode operation has begun.
void onTranscodeProgress (in AString aInputURL, in AString aOutputURL, in PRInt32 aPercent)
 The transcode is in progress.
void onTranscodeMessage (in AString aMessage)
 The transcode has sent a message (?!).
void onTranscodeError (in AString aInputURL, in AString aOutputURL, in PRInt32 aErrorVal, in AString aErrorStr)
 The transcode has failed.
void onTranscodeComplete (in AString aInputURL, in AString aOutputURL)
 The transcode has successfully completed.


Detailed Description

A callback to inform upon the status of a transcode operation.

User code may implement a local instance of this interface and pass it into the sbIMediaTranscoderManager::transcode() method to be informed about the status and progress of the transcode operation.

Todo:
Stub interface. Currently unimplemented.
See also:
sbIMediaTranscoderManager, sbIMediaTranscoder, sbIMediaType

Definition at line 96 of file sbIMediaTranscoder.idl.


Member Function Documentation

void sbIMediaTranscoderCallback::onTranscodeBegin ( in AString  aInputURL,
in AString  aOutputURL,
in sbIMediaType  aOutputType 
)

The transcode operation has begun.

Parameters:
aInputURL The url to the input file
aOutputURL The url to the output file
aOutputType The type for the output file

void sbIMediaTranscoderCallback::onTranscodeComplete ( in AString  aInputURL,
in AString  aOutputURL 
)

The transcode has successfully completed.

Parameters:
aInputURL The url to the input file
aOutputURL The url to the output file

void sbIMediaTranscoderCallback::onTranscodeError ( in AString  aInputURL,
in AString  aOutputURL,
in PRInt32  aErrorVal,
in AString  aErrorStr 
)

The transcode has failed.

Parameters:
aInputURL The url to the input file
aOutputURL The url to the output file
aErrorVal The numeric value for the error
aErrorStr The error string

void sbIMediaTranscoderCallback::onTranscodeMessage ( in AString  aMessage  ) 

The transcode has sent a message (?!).

Parameters:
aMessage The message to be sent

void sbIMediaTranscoderCallback::onTranscodeProgress ( in AString  aInputURL,
in AString  aOutputURL,
in PRInt32  aPercent 
)

The transcode is in progress.

Parameters:
aInputURL The url to the input file
aOutputURL The url to the output file
aPercent A value between 0 and 100, indicating the progress of the transcode operation


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7