#include <mda/client/utility.h>
class MMdaObjectStateChangeObserver |
Public Member Functions | |
---|---|
pure virtual void | MoscoStateChangeEvent(CBase *, TInt, TInt, TInt) |
An interface class for handling the change of state of an audio data sample object.
The class is a mixin and is intended to be inherited by the client class which is observing the audio recording or the audio conversion operation. The class defines a single function which must be implemented by the inheriting client class.
This class is maintained for binary compatibility with versions prior to 7.0s.
Defined in MMdaObjectStateChangeObserver: MoscoStateChangeEvent()
void | MoscoStateChangeEvent | ( | CBase * | aObject, |
TInt | aPreviousState, | |||
TInt | aCurrentState, | |||
TInt | aErrorCode | |||
) | [pure virtual] |
This method is used to receive the updated state of an audio data sample object. This method must be implemented by the inheriting client class.
Parameter | Description |
---|---|
aObject | The audio data sample object whose state has changed. |
aPreviousState | This is the previous state of the audio data sample object before it went into the current state. It is expected to be one of the enum values defined in CMdaAudioClipUtility::TState, which defines the possible states of an audio data sample. |
aCurrentState | This is the current state of the audio data sample object. It is expected to be one of the enum values defined in CMdaAudioClipUtility::TState, which defines the possible states of an audio data sample. |
aErrorCode | A system wide error code, KErrNone for sucessful completion. KErrInUse, KErrDied or KErrAccessDenied may be returned to indicate that the sound device is in use by another higher priority client. |