Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: mda\client\utility.h
Link against: n/a

Class MMdaObjectStateChangeObserver

MMdaObjectStateChangeObserver

Support

Supported from 5.0

Description

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.

Defined in MMdaObjectStateChangeObserver:
MoscoStateChangeEvent()


MoscoStateChangeEvent()

virtual void MoscoStateChangeEvent(CBase* aObject, TInt aPreviousState, TInt aCurrentState, TInt aErrorCode) = 0;

Description

Defines required client behaviour when the observed audio data sample object changes state.

Parameters

CBase* aObject

A pointer to the audio sample object that has changed state. More than one object can be observed simultaneously and can return a change of state notification through the same call.

TInt aPreviousState

The state before the change

TInt aCurrentState

The state after the change.

TInt aErrorCode

If not KErrNone, then the error that caused the state change