RMMFAudioPlayControllerCustomCommands Class Reference

class RMMFAudioPlayControllerCustomCommands : public RMMFCustomCommandsBase

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

Inherits from

Constructor & Destructor Documentation

RMMFAudioPlayControllerCustomCommands(RMMFController &)

IMPORT_C RMMFAudioPlayControllerCustomCommands ( RMMFController & aController )

Constructor.

Since
7.0s

Parameters

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

Member Functions Documentation

DeletePlaybackWindow()

IMPORT_C TInt DeletePlaybackWindow ( )

Removes a previously defined playback window.

Since
7.0s

GetLoadingProgress(TInt &)

IMPORT_C TInt GetLoadingProgress ( TInt & aPercentageProgress ) const

Gets the audio loading progress as a percentage.

Since
7.0s

Parameters

TInt & aPercentageProgress The progress loading the clip, as a percentage.

SetPlaybackWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)

IMPORT_C TInt SetPlaybackWindow ( 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

const TTimeIntervalMicroSeconds & aStart The start of the window, in microseconds.
const TTimeIntervalMicroSeconds & aEnd The end of the window, in microseconds.