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()

voidConstructL()[private]

HandleDownloadEventL(TUint, TBrCtlDownloadEvent, TUint)

voidHandleDownloadEventL(TUintaTransactionID,
TBrCtlDownloadEventaEvent,
TUintaValue
)[private]

Parameters

TUint aTransactionID
TBrCtlDownloadEvent aEvent
TUint aValue

HandleDownloadUpdateL()

voidHandleDownloadUpdateL()[private]

MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)

voidMapcInitComplete(TIntaError,
const TTimeIntervalMicroSeconds &aDuration
)[private]

Parameters

TInt aError
const TTimeIntervalMicroSeconds & aDuration

MapcPlayComplete(TInt)

voidMapcPlayComplete(TIntaError)[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()

voidPaused()[private]

Playing()

voidPlaying()[private]

SavePosition()

voidSavePosition()[private]

StartPlaying()

voidStartPlaying()[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 TStateiState[private]

TTimeIntervalMicroSeconds iTimePosition

TTimeIntervalMicroSeconds iTimePosition[private]

TBool iUseFileHandle

TBool iUseFileHandle[private]