RMMFAudioPlayControllerCustomCommands Class Reference

#include <mmf/common/mmfstandardcustomcommands.h>

Link against: mmfstandardcustomcommands.lib

class RMMFAudioPlayControllerCustomCommands : public RMMFCustomCommandsBase, public RMMFCustomCommandsBase

Inherits from

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

Since
7.0s

Constructor & Destructor Documentation

RMMFAudioPlayControllerCustomCommands ( RMMFController & )

IMPORT_CRMMFAudioPlayControllerCustomCommands(RMMFController &aController)

Constructor.

Since
7.0s
Parameters
aControllerThe client side controller object to be used by this custom command interface.

Member Function Documentation

DeletePlaybackWindow ( )

IMPORT_C TIntDeletePlaybackWindow()

Removes a previously defined playback window.

Since
7.0s
Return Value
One of the system-wide error codes.

GetLoadingProgress ( TInt & )

IMPORT_C TIntGetLoadingProgress(TInt &aPercentageProgress)const

Gets the audio loading progress as a percentage.

Since
7.0s
Parameters
aPercentageProgressThe progress loading the clip, as a percentage.
Return Value
One of the system-wide error codes.

SetPlaybackWindow ( const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds & )

IMPORT_C TIntSetPlaybackWindow(const TTimeIntervalMicroSeconds &aStart,
const TTimeIntervalMicroSeconds &aEnd
)const

Sets a playback window. The controller will start playing from the start of the window,

and finish playing at the end of the window.

Since
7.0s
Parameters
aStartThe start of the window, in microseconds.
aEndThe end of the window, in microseconds.
Return Value
One of the system-wide error codes.