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 MMMTunerChangeObserver

class MMMTunerChangeObserver;

Description

The Tuner Change Observer mixin class defines the interface via which notification for changes to the tuned frequency, channel and other tuner state can be received. A client interested in these notifications should call the function CMMTunerUtility::NotifyChange(MMMTunerChangeObserver &).

Members

Defined in MMMTunerChangeObserver:


Member functions


MTcoFrequencyChanged(const TFrequency &,const TFrequency &)

virtual void MTcoFrequencyChanged(const TFrequency &aOldFrequency, const TFrequency &aNewFrequency)=0;

Description

Called when the tuned frequency changes

Parameters

const TFrequency &aOldFrequency

The frequency in use before the change

const TFrequency &aNewFrequency

The new tuned frequency


MTcoChannelChanged(const TChannel &,const TChannel &)

virtual void MTcoChannelChanged(const TChannel &aOldChannel, const TChannel &aNewChannel)=0;

Description

Called when the tuned channel changes

Parameters

const TChannel &aOldChannel

The channel in use before the change

const TChannel &aNewChannel

The new tuned channel


MTcoStateChanged(const TUint32 &,const TUint32 &)

virtual void MTcoStateChanged(const TUint32 &aOldState, const TUint32 &aNewState)=0;

Description

Called when the state of the tuner changes.

Parameters

const TUint32 &aOldState

The old state. Bits are set according to TTunerState.

const TUint32 &aNewState

The new state. Bits are set according to TTunerState.


MTcoAntennaDetached()

virtual void MTcoAntennaDetached()=0;

Description

This function is called when an external antenna is detached from the device. This does not necessarily indicate that the tuner can no longer be used; the capabilities of the tuner indicate if the external antenna is required in order to use the tuner.


MTcoAntennaAttached()

virtual void MTcoAntennaAttached()=0;

Description

This function is called when an external antenna is attached to the device. If the antenna is required to use the tuner, this indicates that the tuner can be used again.


MTcoFlightModeChanged(TBool)

virtual void MTcoFlightModeChanged(TBool aFlightMode)=0;

Description

This function is called when the device enters or leaves flight mode. If the tuner cannot be used in flight mode when the device enters this mode, this indicates that the tuner can no longer be used; the capabilities of the tuner indicate if it can be used in flight mode or not.

Parameters

TBool aFlightMode

ETrue if the device has just entered flight mode, EFalse if flight mode has just been left.


MTcoSquelchChanged(TBool)

virtual void MTcoSquelchChanged(TBool aSquelch)=0;

Description

This function is used to capture the changing state of the squelch circuit.

Parameters

TBool aSquelch

ETrue if the squelch circuit is enabled, EFalse if disabled.