Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: Tuner.h

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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.

Members

Defined in MMMTunerChangeObserver:
MTcoAntennaAttached(), MTcoAntennaDetached(), MTcoChannelChanged(), MTcoFlightModeChanged(), MTcoFrequencyChanged(), MTcoSquelchChanged(), MTcoStateChanged()


Member functions


MTcoFrequencyChanged()

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()

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()

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()

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()

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.