CAudioPdPlayUtility Class Reference

class CAudioPdPlayUtility : public CBase

Concrete implementation of the CAudioPdPlayUtility API. CAudioPdPlayUtility

Inherits from

Public Member Functions
~CAudioPdPlayUtility ()
TInt CheckAudioPlayerState ()
TInt ClearPlayWindow ()
void Close ()
const CMMFControllerImplementationInformation & ControllerImplementationInformationL ()
void CustomCommandAsync (const TMMFMessageDestinationPckg &, TInt , const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
void CustomCommandAsync (const TMMFMessageDestinationPckg &, TInt , const TDesC8 &, const TDesC8 &, TRequestStatus &)
TInt CustomCommandSync (const TMMFMessageDestinationPckg &, TInt , const TDesC8 &, const TDesC8 &, TDes8 &)
TInt CustomCommandSync (const TMMFMessageDestinationPckg &, TInt , const TDesC8 &, const TDesC8 &)
void DlCompleteOpenFileL (const TDesC &)
const TTimeIntervalMicroSeconds & Duration ()
void GetAudioLoadingProgressL ( TInt &)
TInt GetBalance ( TInt &)
TInt GetBitRate ( TUint &)
MMMFDRMCustomCommand * GetDRMCustomCommand ()
TInt GetFilePosition ( TInt &)
CMMFMetaDataEntry * GetMetaDataEntryL ( TInt )
TInt GetNumberOfMetaDataEntries ( TInt &)
TInt GetPosition ( TTimeIntervalMicroSeconds &)
TInt GetVolume ( TInt &)
void HandleDownloadEventL ( TUint , TBrCtlDownloadEvent , TUint )
TInt MaxVolume ()
CAudioPdPlayUtility * NewL ( MAudioPdPlayUtilityCallback &)
void OpenFileL (const TDesC &)
void OpenFileL (const RFile &)
void OpenFileL (const TMMSource &)
TInt Pause ()
void Play ()
void RegisterForAudioLoadingNotification ( MAudioLoadingObserver &)
TInt SetBalance ( TInt )
TInt SetBytesDownloaded ( TInt , TBool )
TInt SetFileSize ( TInt )
TInt SetPlayWindow (const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)
void SetPosition (const TTimeIntervalMicroSeconds &)
TInt SetPriority ( TInt , TMdaPriorityPreference )
void SetRepeats ( TInt , const TTimeIntervalMicroSeconds &)
void SetVolume ( TInt )
void SetVolumeRamp (const TTimeIntervalMicroSeconds &)
void Stop ()
Private Member Functions
CAudioPdPlayUtility ()
void ConstructL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CAudioPdProperties * iProperties

Constructor & Destructor Documentation

CAudioPdPlayUtility()

CAudioPdPlayUtility ( ) [private]

~CAudioPdPlayUtility()

~CAudioPdPlayUtility ( )

Member Functions Documentation

CheckAudioPlayerState()

TInt CheckAudioPlayerState ( )

ClearPlayWindow()

TInt ClearPlayWindow ( )

Close()

void Close ( )

ConstructL()

void ConstructL ( ) [private]

ControllerImplementationInformationL()

const CMMFControllerImplementationInformation & ControllerImplementationInformationL ( )

CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)

void CustomCommandAsync ( const TMMFMessageDestinationPckg & aDestination,
TInt aFunction,
const TDesC8 & aDataTo1,
const TDesC8 & aDataTo2,
TDes8 & aDataFrom,
TRequestStatus & aStatus
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TDes8 & aDataFrom
TRequestStatus & aStatus

CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)

void CustomCommandAsync ( const TMMFMessageDestinationPckg & aDestination,
TInt aFunction,
const TDesC8 & aDataTo1,
const TDesC8 & aDataTo2,
TRequestStatus & aStatus
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TRequestStatus & aStatus

CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)

TInt CustomCommandSync ( const TMMFMessageDestinationPckg & aDestination,
TInt aFunction,
const TDesC8 & aDataTo1,
const TDesC8 & aDataTo2,
TDes8 & aDataFrom
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2
TDes8 & aDataFrom

CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &)

TInt CustomCommandSync ( const TMMFMessageDestinationPckg & aDestination,
TInt aFunction,
const TDesC8 & aDataTo1,
const TDesC8 & aDataTo2
)

Parameters

const TMMFMessageDestinationPckg & aDestination
TInt aFunction
const TDesC8 & aDataTo1
const TDesC8 & aDataTo2

DlCompleteOpenFileL(const TDesC &)

void DlCompleteOpenFileL ( const TDesC & aFileName )

Parameters

const TDesC & aFileName

Duration()

const TTimeIntervalMicroSeconds & Duration ( )

GetAudioLoadingProgressL(TInt &)

void GetAudioLoadingProgressL ( TInt & aPercentageProgress )

Parameters

TInt & aPercentageProgress

GetBalance(TInt &)

TInt GetBalance ( TInt & aBalance )

Parameters

TInt & aBalance

GetBitRate(TUint &)

TInt GetBitRate ( TUint & aBitRate )

Parameters

TUint & aBitRate

GetDRMCustomCommand()

MMMFDRMCustomCommand * GetDRMCustomCommand ( )

GetFilePosition(TInt &)

TInt GetFilePosition ( TInt & aFilePosition )

Parameters

TInt & aFilePosition

GetMetaDataEntryL(TInt)

CMMFMetaDataEntry * GetMetaDataEntryL ( TInt aMetaDataIndex )

Parameters

TInt aMetaDataIndex

GetNumberOfMetaDataEntries(TInt &)

TInt GetNumberOfMetaDataEntries ( TInt & aNumEntries )

Parameters

TInt & aNumEntries

GetPosition(TTimeIntervalMicroSeconds &)

TInt GetPosition ( TTimeIntervalMicroSeconds & aPosition )

Parameters

TTimeIntervalMicroSeconds & aPosition

GetVolume(TInt &)

TInt GetVolume ( TInt & aVolume )

Parameters

TInt & aVolume

HandleDownloadEventL(TUint, TBrCtlDownloadEvent, TUint)

void HandleDownloadEventL ( TUint aTransactionID,
TBrCtlDownloadEvent aEvent,
TUint aValue
)

Parameters

TUint aTransactionID
TBrCtlDownloadEvent aEvent
TUint aValue

MaxVolume()

TInt MaxVolume ( )

NewL(MAudioPdPlayUtilityCallback &)

CAudioPdPlayUtility * NewL ( MAudioPdPlayUtilityCallback & aCallback ) [static]

Parameters

MAudioPdPlayUtilityCallback & aCallback

OpenFileL(const TDesC &)

void OpenFileL ( const TDesC & aFileName )

Parameters

const TDesC & aFileName

OpenFileL(const RFile &)

void OpenFileL ( const RFile & aFile )

Parameters

const RFile & aFile

OpenFileL(const TMMSource &)

void OpenFileL ( const TMMSource & aSource )

Parameters

const TMMSource & aSource

Pause()

TInt Pause ( )

Play()

void Play ( )

RegisterForAudioLoadingNotification(MAudioLoadingObserver &)

void RegisterForAudioLoadingNotification ( MAudioLoadingObserver & aCallback )

Parameters

MAudioLoadingObserver & aCallback

SetBalance(TInt)

TInt SetBalance ( TInt aBalance =  KMMFBalanceCenter )

Parameters

TInt aBalance =  KMMFBalanceCenter

SetBytesDownloaded(TInt, TBool)

TInt SetBytesDownloaded ( TInt aBytesDownloaded,
TBool aDownloadComplete
)

Parameters

TInt aBytesDownloaded
TBool aDownloadComplete

SetFileSize(TInt)

TInt SetFileSize ( TInt aFileSize )

Parameters

TInt aFileSize

SetPlayWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)

TInt SetPlayWindow ( const TTimeIntervalMicroSeconds & aStart,
const TTimeIntervalMicroSeconds & aEnd
)

Parameters

const TTimeIntervalMicroSeconds & aStart
const TTimeIntervalMicroSeconds & aEnd

SetPosition(const TTimeIntervalMicroSeconds &)

void SetPosition ( const TTimeIntervalMicroSeconds & aPosition )

Parameters

const TTimeIntervalMicroSeconds & aPosition

SetPriority(TInt, TMdaPriorityPreference)

TInt SetPriority ( TInt aPriority,
TMdaPriorityPreference aPref
)

Parameters

TInt aPriority
TMdaPriorityPreference aPref

SetRepeats(TInt, const TTimeIntervalMicroSeconds &)

void SetRepeats ( TInt aRepeatNumberOfTimes,
const TTimeIntervalMicroSeconds & aTrailingSilence
)

Parameters

TInt aRepeatNumberOfTimes
const TTimeIntervalMicroSeconds & aTrailingSilence

SetVolume(TInt)

void SetVolume ( TInt aVolume )

Parameters

TInt aVolume

SetVolumeRamp(const TTimeIntervalMicroSeconds &)

void SetVolumeRamp ( const TTimeIntervalMicroSeconds & aRampDuration )

Parameters

const TTimeIntervalMicroSeconds & aRampDuration

Stop()

void Stop ( )

Member Data Documentation

CAudioPdProperties * iProperties

CAudioPdProperties * iProperties [private]