Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <mmfstandardcustomcommands.h>
Link against: mmfstandardcustomcommands.lib

Class RMMFAudioPlayControllerCustomCommands

class RMMFAudioPlayControllerCustomCommands : public RMMFCustomCommandsBase;

Description

Client class to access functionality specific to an audio play controller.

The class uses the custom command function of the controller plugin, and removes the necessity for the client to formulate the custom commands.

Derivation

Members

Defined in RMMFAudioPlayControllerCustomCommands:

Inherited from RMMFCustomCommandsBase:


Construction and destruction


RMMFAudioPlayControllerCustomCommands(RMMFController &)

IMPORT_C RMMFAudioPlayControllerCustomCommands(RMMFController &aController);

Description

Constructor.

Parameters

RMMFController &aController

The client side controller object to be used by this custom command interface.

[Top]


Member functions


SetPlaybackWindow(const TTimeIntervalMicroSeconds &,const TTimeIntervalMicroSeconds &)const

IMPORT_C TInt SetPlaybackWindow(const TTimeIntervalMicroSeconds &aStart, const TTimeIntervalMicroSeconds &aEnd) const;

Description

Sets a playback window. The controller will start playing from the start of the window, and finish playing at the end of the window.

Parameters

const TTimeIntervalMicroSeconds &aStart

The start of the window, in microseconds.

const TTimeIntervalMicroSeconds &aEnd

The end of the window, in microseconds.

Return value

TInt

One of the system-wide error codes.


DeletePlaybackWindow()

IMPORT_C TInt DeletePlaybackWindow();

Description

Removes a previously defined playback window.

Return value

TInt

One of the system-wide error codes.


GetLoadingProgress(TInt &)const

IMPORT_C TInt GetLoadingProgress(TInt &aPercentageProgress) const;

Description

Gets the audio loading progress as a percentage.

Parameters

TInt &aPercentageProgress

The progress loading the clip, as a percentage.

Return value

TInt

One of the system-wide error codes.