MDrmAudioPlayerCallback Class Reference

#include <DrmAudioSamplePlayer.h>

Link against: DRMAudioPlayer.lib

class MDrmAudioPlayerCallback
Public Member Functions
pure virtual voidMdapcInitComplete(TInt, const TTimeIntervalMicroSeconds &)
pure virtual voidMdapcPlayComplete(TInt)

Detailed Description

Interface class for DRM Player callbacks

Since
Series 60 3.0

Member Function Documentation

MdapcInitComplete ( TInt, const TTimeIntervalMicroSeconds & )

voidMdapcInitComplete(TIntaError,
const TTimeIntervalMicroSeconds &aDuration
)[pure virtual]
Called by CDrmPlayerUtility when initialization is complete.
Since
Series 60 3.0
ParameterDescription
aErrorThe status of the audio sample after initialisation. The following values have the same specific meaning across all EPOC platforms: KErrNone the sample is ready to play. KErrNotSupported the audio format or particular encoding type is not recognised or not supported. KErrNotFound the audio sample cannot be found. KErrNoMemory there is insufficient memory to play this audio sample. Other values are possible indicating a problem opening the audio sample. These values are dependent on the EPOC platform.
aDurationThe duration of the audio sample.

MdapcPlayComplete ( TInt )

voidMdapcPlayComplete(TIntaError)[pure virtual]
Called by CDrmPlayerUtility when playing is complete.
Since
Series 60 3.0
ParameterDescription
aErrorThe status of playback. The following values have the same specific meaning across all EPOC platforms: KErrNone playing of the audio sample is complete. KErrCorrupt the sample data is corrupt. KErrInUse the sound device is in use by another higher priority client. This can happen during playback. KErrNoMemory there is insufficient memory to play this audio sample Other values are possible indicating a problem opening the audio sample. These values are dependent on the EPOC platform.