CPdProperties Class Reference

class CPdProperties : public CBase

Inherits from

Constructor & Destructor Documentation

CPdProperties()

CPdProperties ( ) [private]

~CPdProperties()

IMPORT_C ~CPdProperties ( )

Member Functions Documentation

CalculatePercentageDownloaded()

TInt CalculatePercentageDownloaded ( ) [private]

ConstructL()

void ConstructL ( ) [private]

HandleDownloadEventL(TUint, TBrCtlDownloadEvent, TUint)

void HandleDownloadEventL ( TUint aTransactionID,
TBrCtlDownloadEvent aEvent,
TUint aValue
) [private]

Parameters

TUint aTransactionID
TBrCtlDownloadEvent aEvent
TUint aValue

HandleDownloadUpdateL()

void HandleDownloadUpdateL ( ) [private]

MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)

void MapcInitComplete ( TInt aError,
const TTimeIntervalMicroSeconds & aDuration
) [private]

Parameters

TInt aError
const TTimeIntervalMicroSeconds & aDuration

MapcPlayComplete(TInt)

void MapcPlayComplete ( TInt aError ) [private]

Parameters

TInt aError

NewL()

IMPORT_C CPdProperties * NewL ( ) [static]

NewLC()

IMPORT_C CPdProperties * NewLC ( ) [static]

OpenL(const TDesC &, MAudioPdPlayUtilityCallback &)

IMPORT_C CAudioPdPlayUtility * OpenL ( const TDesC & aFileName,
MAudioPdPlayUtilityCallback & aCallback
)

Parameters

const TDesC & aFileName
MAudioPdPlayUtilityCallback & aCallback

OpenL(const RFile &, MAudioPdPlayUtilityCallback &)

IMPORT_C CAudioPdPlayUtility * OpenL ( const RFile & aFileHandle,
MAudioPdPlayUtilityCallback & aCallback
)

Parameters

const RFile & aFileHandle
MAudioPdPlayUtilityCallback & aCallback

Paused()

void Paused ( ) [private]

Playing()

void Playing ( ) [private]

SavePosition()

void SavePosition ( ) [private]

StartPlaying()

void StartPlaying ( ) [private]

Member Enumerations Documentation

Enum TState

Enumerators

EStopped
EStoppedAutoResume
EPlaying

Member Data Documentation

TInt iAttemptsToOpen

TInt iAttemptsToOpen [private]

CAudioPdPlayUtility * iAudioPdPlayUtility

CAudioPdPlayUtility * iAudioPdPlayUtility [private]

TInt iBytesDownloaded

TInt iBytesDownloaded [private]

MAudioPdPlayUtilityCallback * iCallback

MAudioPdPlayUtilityCallback * iCallback [private]

TBool iDownloadCompleted

TBool iDownloadCompleted [private]

TInt iFileBytePosition

TInt iFileBytePosition [private]

RFile iFileHandle

RFile iFileHandle [private]

HBufC * iFileName

HBufC * iFileName [private]

TBool iFileOpened

TBool iFileOpened [private]

TInt iFileSize

TInt iFileSize [private]

TBool iOpenInProgress

TBool iOpenInProgress [private]

TInt iPercentageToBuffer

TInt iPercentageToBuffer [private]

enum TState iState

enum TState iState [private]

TTimeIntervalMicroSeconds iTimePosition

TTimeIntervalMicroSeconds iTimePosition [private]

TBool iUseFileHandle

TBool iUseFileHandle [private]