CAudioPdPlayUtility Class Reference
class CAudioPdPlayUtility : public CBase
|
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
()
|
Constructor & Destructor Documentation
CAudioPdPlayUtility()
CAudioPdPlayUtility
|
(
|
)
|
[private]
|
Member Functions Documentation
CheckAudioPlayerState()
TInt
|
CheckAudioPlayerState
|
(
|
)
|
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ControllerImplementationInformationL()
CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &, TRequestStatus &)
CustomCommandAsync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TRequestStatus &)
CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &, TDes8 &)
CustomCommandSync(const TMMFMessageDestinationPckg &, TInt, const TDesC8 &, const TDesC8 &)
DlCompleteOpenFileL(const TDesC &)
void
|
DlCompleteOpenFileL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
GetAudioLoadingProgressL(TInt &)
void
|
GetAudioLoadingProgressL
|
(
|
TInt
&
|
aPercentageProgress
|
)
|
|
Parameters
TInt
& aPercentageProgress
|
|
GetFilePosition(TInt &)
TInt
|
GetFilePosition
|
(
|
TInt
&
|
aFilePosition
|
)
|
|
GetNumberOfMetaDataEntries(TInt &)
TInt
|
GetNumberOfMetaDataEntries
|
(
|
TInt
&
|
aNumEntries
|
)
|
|
GetPosition(TTimeIntervalMicroSeconds &)
HandleDownloadEventL(TUint, TBrCtlDownloadEvent, TUint)
void
|
HandleDownloadEventL
|
(
|
TUint
|
aTransactionID,
|
|
TBrCtlDownloadEvent
|
aEvent,
|
|
TUint
|
aValue
|
|
)
|
|
Parameters
TUint
aTransactionID
|
|
TBrCtlDownloadEvent
aEvent
|
|
TUint
aValue
|
|
NewL(MAudioPdPlayUtilityCallback &)
OpenFileL(const TDesC &)
void
|
OpenFileL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
OpenFileL(const RFile &)
void
|
OpenFileL
|
(
|
const
RFile
&
|
aFile
|
)
|
|
OpenFileL(const TMMSource &)
RegisterForAudioLoadingNotification(MAudioLoadingObserver &)
SetBytesDownloaded(TInt, TBool)
TInt
|
SetBytesDownloaded
|
(
|
TInt
|
aBytesDownloaded,
|
|
TBool
|
aDownloadComplete
|
|
)
|
|
Parameters
TInt
aBytesDownloaded
|
|
TBool
aDownloadComplete
|
|
SetPlayWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)
SetPosition(const TTimeIntervalMicroSeconds &)
SetPriority(TInt, TMdaPriorityPreference)
TInt
|
SetPriority
|
(
|
TInt
|
aPriority,
|
|
TMdaPriorityPreference
|
aPref
|
|
)
|
|
Parameters
TInt
aPriority
|
|
TMdaPriorityPreference
aPref
|
|
SetRepeats(TInt, const TTimeIntervalMicroSeconds &)
SetVolume(TInt)
void
|
SetVolume
|
(
|
TInt
|
aVolume
|
)
|
|
SetVolumeRamp(const TTimeIntervalMicroSeconds &)
Member Data Documentation
CAudioPdProperties * iProperties
CAudioPdProperties *
|
iProperties
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.