MRadioFmTunerObserver Class Reference
class MRadioFmTunerObserver |
This class provides the interface class to be implemented by object receiving request complete notification from FM tuner control. These functions are called once the asynchronous request completes successfully or with an error.
In addition, this class provides the interface for receiving events from FM tuner control.
Member Functions Documentation
MrftoAntennaStatusChange(TBool)
void | MrftoAntennaStatusChange | ( | TBool | aAttached | ) | [pure virtual] |
Called when antenna status changes.
Parameters
TBool aAttached | ETrue if antenna is attached; EFalse otherwise. |
MrftoFmTransmitterStatusChange(TBool)
void | MrftoFmTransmitterStatusChange | ( | TBool | aActive | ) | [pure virtual] |
Called when FM Transmitter status changes (if one is present in the device). Tuner receiver is forced to be turned off due to hardware conflicts when FM transmitter is activated.
Parameters
TBool aActive | ETrue if FM transmitter is active; EFalse otherwise. |
MrftoForcedMonoChange(TBool)
void | MrftoForcedMonoChange | ( | TBool | aForcedMono | ) | [pure virtual] |
Called when the forced mono status change. This may be caused by other applications.
Parameters
TBool aForcedMono | ETrue if forced mono mode is enabled; EFalse otherwise. |
MrftoFrequencyChange(TInt)
void | MrftoFrequencyChange | ( | TInt | aNewFrequency | ) | [pure virtual] |
Called when the tuned frequency changes. This may be caused by other applications or RDS if AF/TA is enabled.
Parameters
TInt aNewFrequency | The new tuned frequency(Hz). |
MrftoFrequencyRangeChange(TFmRadioFrequencyRange)
Called when the frequency range changes. This may be caused by other applications.
MrftoOfflineModeStatusChange(TBool)
void | MrftoOfflineModeStatusChange | ( | TBool | aOfflineMode | ) | [pure virtual] |
Called when offline mode status changes.
- Since
- S60 3.2
MrftoRequestTunerControlComplete(TInt)
void | MrftoRequestTunerControlComplete | ( | TInt | aError | ) | [pure virtual] |
Request for tuner control complete event. This event is asynchronous and is received after a call to CRadioFmTunerUtility::RequestTunerControl.
If this function returns KErrNone, control of the tuner has been granted.
If this function returns KFMRadioErrAntennaNotConnected, KFMRadioErrFmTransmitterActive, or KFMRadioErrOfflineMode, client will receive the following events respectively: MrfteoAntennaStatusChanged, MrfteoFmTransmitterStatusChanged, MrfteoOfflineModeStatusChanged. At this time, client must re-issue RequestTunerControl. Note that functions that require control of the tuner (such as Tune) will return one of the above error codes.
In case of multiple clients accessing the tuner, or when RequestTunerControl is re-issued, this function returns KErrAlreadyExists.
Parameters
TInt aError | A standard system error code or FM tuner error (TFmRadioTunerError). |
MrftoSetFrequencyComplete(TInt)
void | MrftoSetFrequencyComplete | ( | TInt | aError | ) | [pure virtual] |
Parameters
TInt aError | A standard system error code or FM tuner error (TFmRadioTunerError). |
MrftoSetFrequencyRangeComplete(TInt)
void | MrftoSetFrequencyRangeComplete | ( | TInt | aError | ) | [pure virtual] |
Parameters
TInt aError | A standard system error code or FM tuner error (TFmRadioTunerError). |
MrftoSquelchChange(TBool)
void | MrftoSquelchChange | ( | TBool | aSquelch | ) | [pure virtual] |
Called when the squelch (muting the frequencies without broadcast) status change. This may be caused by other applications.
Parameters
TBool aSquelch | ETrue if squelch is enabled; EFalse otherwise. |
MrftoStationSeekComplete(TInt, TInt)
void | MrftoStationSeekComplete | ( | TInt | aError, |
| TInt | aFrequency |
| ) | [pure virtual] |
Parameters
TInt aError | A standard system error code or FM tuner error (TFmRadioTunerError). |
TInt aFrequency | The frequency(Hz) of the radio station that was found. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.