MDrmAudioPlayerCallback Class Reference

API published in: S60 3rd Ed
API deprecated in: S60 5th Ed

Link against: drmaudioplayutility.lib

Capability Information

Required Capabilities

None


#include <drmaudiosampleplayer.h>

Detailed Description

Interface class for DRM Player callbacks.

Public Member Functions

virtual void  MdapcInitComplete (TInt aError, const TTimeIntervalMicroSeconds &aDuration)=0
  Called by CDrmPlayerUtility when initialization is complete.
virtual void  MdapcPlayComplete (TInt aError)=0
  Called by CDrmPlayerUtility when playing is complete.

Member Function Documentation

virtual void MDrmAudioPlayerCallback::MdapcInitComplete TInt  aError,
const TTimeIntervalMicroSeconds &  aDuration
[pure virtual]
 

Called by CDrmPlayerUtility when initialization is complete.

Parameters:
aError  The 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.
aDuration  The duration of the audio sample.
virtual void MDrmAudioPlayerCallback::MdapcPlayComplete TInt  aError  )  [pure virtual]
 

Called by CDrmPlayerUtility when playing is complete.

Parameters:
aError  The 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.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top