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 MMMTunerAudioPlayerObserver

class MMMTunerAudioPlayerObserver;

Description

MMMTunerAudioPlayerObserver

Members

Defined in MMMTunerAudioPlayerObserver:


Member functions


MTapoInitializeComplete(TInt)

virtual void MTapoInitializeComplete(TInt aError)=0;

Description

Initialize complete event. This event is asynchronous and is received after a call to CMMTunerAudioPlayerUtility::InitializeL(TInt,TMdaPriorityPreference).

Parameters

TInt aError

A standard system error


MTapoPlayEvent(TEventType,TInt,TAny *)

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

Description

Passes an asychronous event to the tuner client.

Parameters

MMMTunerAudioPlayerObserver::TEventType aEvent

The type of event. See enumeration MMMTunerAudioPlayerObserver::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 MMMTunerAudioPlayerObserver::MTapoPlayEvent(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 playback.

No additional information is associated with this type of event.