MMMFDevSoundTimePlayed Class Reference

#include <mmf/server/mmfdevsoundcustominterfacesupportclasses.h>

class MMMFDevSoundTimePlayed
Public Member Functions
pure virtual TInt GetTimePlayed(TTimeIntervalMicroSeconds &)

Detailed Description

This class provides an interface to querying current play time from DevSound.

Member Function Documentation

GetTimePlayed ( TTimeIntervalMicroSeconds & )

TInt GetTimePlayed(TTimeIntervalMicroSeconds &aTime)[pure virtual]

Retrieves the current play time from the audio renderer.

ParameterDescription
aTimeA reference to TTimeIntervalMicroSeconds object which will be filled with the current play time by this function.

Returns: An error code indicating if the function call was successful. KErrNone on success, KErrNotSupported if the underlying HwDevice does not support this custominterface