Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
DeletePlaybackWindow(), GetLoadingProgress(), RMMFAudioPlayControllerCustomCommands(), SetPlaybackWindow()

Inherited from RMMFCustomCommandsBase:
iController, iDestinationPckg


Construction and destruction


RMMFAudioPlayControllerCustomCommands()

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()

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()

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.