Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <Tuner.h>
This item is not part of the S60 5th Edition SDK

Class MMMTunerAudioRecorderObserver

class MMMTunerAudioRecorderObserver;

Description

This class is the abstract base class the defines application callbacks from a instance of the CMMTunerAudioRecorderUtility class

Members

Defined in MMMTunerAudioRecorderObserver:


Member functions


MTaroInitializeComplete(TInt)

virtual void MTaroInitializeComplete(TInt aError)=0;

Description

Initialize complete event. This event is asynchronous and is received after a call to CMMTunerAudioRecorderUtility::InitializeL(const TDesC &,TFourCC,TUid,TUid,TInt,TMdaPriorityPreference).

Parameters

TInt aError

A standard system error


MTaroRecordEvent(TEventType,TInt,TAny *)

virtual void MTaroRecordEvent(TEventType aEvent, TInt aError, TAny *aAdditionalInfo)=0;

Description

Passes an asychronous event to the tuner client.

Parameters

MMMTunerAudioRecorderObserver::TEventType aEvent

The type of event. See enumeration MMMTunerAudioRecorderObserver::TEventType for more information about when the event types mean.

TInt aError

An error code associated with the event.

TAny *aAdditionalInfo

Any additional information associated with the event, or NULL if no such additional information exists.

[Top]


Member enumerations


Enum TEventType

TEventType

Description

The TEvent enumeration is used to indicate which type of event is being sent to the client. Each event will be associated with an error code and potentially some addition information, and will be passed to the client via method MMMTunerAudioRecorderObserver::MTaroRecordEvent(TEventType,TInt,TAny *).

ETunerEvent

An event relating to the tuner itself. Any error other than KErrNone associated with this event type may indicate that the tuner cannot be used anymore.

No additional information is associated with this type of event.

EAudioEvent

An event relating to audio recording.

No additional information is associated with this type of event.