CDrmAudioPlayerAdaptation Class Reference
class CDrmAudioPlayerAdaptation : public CBase
|
Inherits from
-
CDrmAudioPlayerAdaptation
Public Member Functions
|
|
CDrmAudioPlayerAdaptation
(
MDrmAudioPlayerCallback
&)
|
|
~CDrmAudioPlayerAdaptation
()
|
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
&)
|
const
TTimeIntervalMicroSeconds
&
|
Duration
()
|
void
|
GetAudioLoadingProgressL
(
TInt
&)
|
TInt
|
GetBalance
(
TInt
&)
|
TInt
|
GetBitRate
(
TUint
&)
|
CMMFMetaDataEntry
*
|
GetMetaDataEntryL
(
TInt
)
|
TInt
|
GetNumberOfMetaDataEntries
(
TInt
&)
|
TInt
|
GetPosition
(
TTimeIntervalMicroSeconds
&)
|
TInt
|
GetVolume
(
TInt
&)
|
TInt
|
MaxVolume
()
|
CDrmAudioPlayerAdaptation
*
|
NewDesPlayerL
(const
TDesC8
&,
MDrmAudioPlayerCallback
&,
TInt
,
TMdaPriorityPreference
)
|
CDrmAudioPlayerAdaptation
*
|
NewDesPlayerReadOnlyL
(const
TDesC8
&,
MDrmAudioPlayerCallback
&,
TInt
,
TMdaPriorityPreference
)
|
CDrmAudioPlayerAdaptation
*
|
NewFilePlayerL
(const
TDesC
&,
MDrmAudioPlayerCallback
&,
TInt
,
TMdaPriorityPreference
)
|
CDrmAudioPlayerAdaptation
*
|
NewL
(
MDrmAudioPlayerCallback
&,
TInt
,
TMdaPriorityPreference
)
|
void
|
OpenDesL
(const
TDesC8
&)
|
void
|
OpenFileL
(const
TDesC
&)
|
void
|
OpenFileL
(const
RFile
&)
|
void
|
OpenFileL
(const
TMMSource
&)
|
void
|
OpenUrlL
(const
TDesC
&,
TInt
, const
TDesC8
&)
|
TInt
|
Pause
()
|
void
|
Play
()
|
void
|
RegisterForAudioLoadingNotification
(
MAudioLoadingObserver
&)
|
TInt
|
SetBalance
(const
TInt
)
|
TInt
|
SetPlayWindow
(const
TTimeIntervalMicroSeconds
&, const
TTimeIntervalMicroSeconds
&)
|
void
|
SetPosition
(const
TTimeIntervalMicroSeconds
&)
|
TInt
|
SetPriority
(
TInt
,
TMdaPriorityPreference
)
|
void
|
SetRepeats
(
TInt
, const
TTimeIntervalMicroSeconds
&)
|
void
|
SetVolume
(const
TInt
)
|
void
|
SetVolumeRamp
(const
TTimeIntervalMicroSeconds
&)
|
void
|
Stop
()
|
Constructor & Destructor Documentation
CDrmAudioPlayerAdaptation(MDrmAudioPlayerCallback &)
~CDrmAudioPlayerAdaptation()
~CDrmAudioPlayerAdaptation
|
(
|
)
|
|
Member Functions Documentation
CheckCustomInterfaceBuilderImplL(const TDesC8 &)
TBool
|
CheckCustomInterfaceBuilderImplL
|
(
|
const
TDesC8
&
|
aParam
|
)
|
[private]
|
ConstructL(TInt, TMdaPriorityPreference)
ConstructNewDesPlayerL(const TDesC8 &, TInt, TMdaPriorityPreference)
ConstructNewDesPlayerReadOnlyL(const TDesC8 &, TInt, TMdaPriorityPreference)
ConstructNewFilePlayerL(const TDesC &, TInt, TMdaPriorityPreference)
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 &)
GetAudioLoadingProgressL(TInt &)
void
|
GetAudioLoadingProgressL
|
(
|
TInt
&
|
aPercentageProgress
|
)
|
|
Parameters
TInt
& aPercentageProgress
|
|
GetNumberOfMetaDataEntries(TInt &)
TInt
|
GetNumberOfMetaDataEntries
|
(
|
TInt
&
|
aNumEntries
|
)
|
|
GetPosition(TTimeIntervalMicroSeconds &)
IsValidCustomCommandDestination(TUid, TDesC8 &)
TBool
|
IsValidCustomCommandDestination
|
(
|
TUid
|
aDestinationUid,
|
|
TDesC8
&
|
aParam
|
|
)
|
[private]
|
MapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)
MapcPlayComplete(TInt)
void
|
MapcPlayComplete
|
(
|
TInt
|
aError
|
)
|
[private]
|
NewDesPlayerL(const TDesC8 &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
NewDesPlayerReadOnlyL(const TDesC8 &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
NewFilePlayerL(const TDesC &, MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
NewL(MDrmAudioPlayerCallback &, TInt, TMdaPriorityPreference)
OpenDesL(const TDesC8 &)
void
|
OpenDesL
|
(
|
const
TDesC8
&
|
aDescriptor
|
)
|
|
OpenFileL(const TDesC &)
void
|
OpenFileL
|
(
|
const
TDesC
&
|
aFileName
|
)
|
|
OpenFileL(const RFile &)
void
|
OpenFileL
|
(
|
const
RFile
&
|
aFile
|
)
|
|
OpenFileL(const TMMSource &)
OpenUrlL(const TDesC &, TInt, const TDesC8 &)
void
|
OpenUrlL
|
(
|
const
TDesC
&
|
aUrl,
|
|
TInt
|
aIapId,
|
|
const
TDesC8
&
|
aMimeType
|
|
)
|
|
RegisterForAudioLoadingNotification(MAudioLoadingObserver &)
SetPlayWindow(const TTimeIntervalMicroSeconds &, const TTimeIntervalMicroSeconds &)
SetPosition(const TTimeIntervalMicroSeconds &)
SetPriority(TInt, TMdaPriorityPreference)
SetRepeats(TInt, const TTimeIntervalMicroSeconds &)
SetVolume(const TInt)
void
|
SetVolume
|
(
|
const
TInt
|
aVolume
|
)
|
|
SetVolumeRamp(const TTimeIntervalMicroSeconds &)
Member Data Documentation
MDrmAudioPlayerCallback * iCallback
CMdaAudioPlayerUtility * iMdaPlayUtil
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.