MRadioRdsObserver Class Reference

class MRadioRdsObserver

This class provides the interface class to be implemented by object receiving request complete notification from RDS 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.

Since
S60 3.2

Member Functions Documentation

MrroGetFreqByPTYComplete(TInt, RArray< TInt > &)

voidMrroGetFreqByPTYComplete(TIntaError,
RArray< TInt > &aFreqList
)[pure virtual]

Get frequencies by Programme Type(PTY) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::GetFreqByPTY.

Client takes ownership of the array and therefore is responsible for deallocating it.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
RArray< TInt > & aFreqListArray of frequencies (Hz), valid only if aError is KErrNone.

MrroGetFreqByTAComplete(TInt, RArray< TInt > &)

voidMrroGetFreqByTAComplete(TIntaError,
RArray< TInt > &aFreqList
)[pure virtual]

Get frequencies by Traffic Announcement(TA) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::GetFreqByTA.

Client takes ownership of the array and therefore is responsible for deallocating it.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
RArray< TInt > & aFreqListArray of frequencies (Hz), valid only if aError is KErrNone.

MrroGetPSByPTYComplete(TInt, RArray< TRdsPSName > &)

voidMrroGetPSByPTYComplete(TIntaError,
RArray< TRdsPSName > &aPsList
)[pure virtual]

Get Programme Service names (PS) by Programme Type(PTY) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::GetPSByPTY.

Client takes ownership of the array and therefore is responsible for deallocating it.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
RArray< TRdsPSName > & aPsListArray of programme service names, valid only if aError is KErrNone.

MrroGetPSByTAComplete(TInt, RArray< TRdsPSName > &)

voidMrroGetPSByTAComplete(TIntaError,
RArray< TRdsPSName > &aPsList
)[pure virtual]

Get Programme Service names (PS) by Traffic Announcement(TA) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::GetPSByTA.

Client takes ownership of the array and therefore is responsible for deallocating it.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
RArray< TRdsPSName > & aPsListArray of programme service names, valid only if aError is KErrNone.

MrroRdsDataCT(TDateTime &)

voidMrroRdsDataCT(TDateTime &aCt)[pure virtual]

Clock Time(CT) is available. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRdsDataChange. Client will continue to receive this notification whenever new CT is available until clients unsubscribes.

Since
S60 3.2

Parameters

TDateTime & aCtClock time

MrroRdsDataPI(TInt)

voidMrroRdsDataPI(TIntaPi)[pure virtual]

New Programme Identification(PI) is available. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRdsDataChange. Client will continue to receive this notification whenever new PI is available until clients unsubscribes.

Since
S60 3.2

Parameters

TInt aPiProgramme identification

MrroRdsDataPS(TRdsPSName &)

voidMrroRdsDataPS(TRdsPSName &aPs)[pure virtual]

New Programme Service(PS) is available. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRdsDataChange. Client will continue to receive this notification whenever new PS is available until clients unsubscribes.

Since
S60 3.2

Parameters

TRdsPSName & aPsProgramme service

MrroRdsDataPTY(TRdsProgrammeType)

voidMrroRdsDataPTY(TRdsProgrammeTypeaPty)[pure virtual]

New Programme Type(PTY) is available. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRdsDataChange. Client will continue to receive this notification whenever new PTY is available until clients unsubscribes.

Since
S60 3.2

Parameters

TRdsProgrammeType aPtyProgramme type

MrroRdsDataRT(TRdsRadioText &)

voidMrroRdsDataRT(TRdsRadioText &aRt)[pure virtual]

New Radio Text(RT) is available. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRdsDataChange. Client will continue to receive this notification whenever new RT is available until clients unsubscribes.

Since
S60 3.2

Parameters

TRdsRadioText & aRtRadio text

MrroRdsDataRTplus(TRdsRTplusClass, TRdsRadioText &)

voidMrroRdsDataRTplus(TRdsRTplusClassaRtPlusClass,
TRdsRadioText &aRtPlusData
)[pure virtual]

New Radio Text+(RT+) is available. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRadioTextPlusChange. Client will continue to receive this notification whenever new RT+ is available until clients unsubscribes.

Since
S60 3.2

Parameters

TRdsRTplusClass aRtPlusClassRadio text plus class
TRdsRadioText & aRtPlusDataRadio text plus data

MrroRdsDataTA(TBool)

voidMrroRdsDataTA(TBoolaTaOn)[pure virtual]

Called when Traffice Announcement(TA) status changes. This event is asynchronous and is received after a call to CRadioRdsUtility::NotifyRdsDataChange. Client will continue to receive this notification whenever TA status changes until clients unsubscribes.

Since
S60 3.2

Parameters

TBool aTaOnETrue indicates that Traffic Announcement is on.

MrroRdsEventAutomaticSwitchingChange(TBool)

voidMrroRdsEventAutomaticSwitchingChange(TBoolaAuto)[pure virtual]

Called when automatic switching (AF) setting changes.

Since
S60 3.2

Parameters

TBool aAutoETrue indicates that automatic switching is on.

MrroRdsEventAutomaticTrafficAnnouncement(TBool)

voidMrroRdsEventAutomaticTrafficAnnouncement(TBoolaAuto)[pure virtual]

Called when automatic traffic announcement setting changes.

Since
S60 3.2

Parameters

TBool aAutoETrue indicates that automatic traffic announcement is on.

MrroRdsEventSignalChange(TBool)

voidMrroRdsEventSignalChange(TBoolaSignal)[pure virtual]

Called when RDS signal status change (i.e. signal is lost/restored).

Since
S60 3.2

Parameters

TBool aSignalETrue indicates that RDS signal is available in the tuned frequency.

MrroRdsSearchBeginAF()

voidMrroRdsSearchBeginAF()[pure virtual]

Called when tuner starts to search for an Alternate Frequency(AF) with stronger signal. This event is asynchronous and is received after a call to CRadioRdsUtility::SetAutomaticSwitching. Client will continue to receive this notification whenever new search is started until clients turns automatic switching off.

Since
S60 3.2

MrroRdsSearchEndAF(TInt, TInt)

voidMrroRdsSearchEndAF(TIntaError,
TIntaFrequency
)[pure virtual]

Called when search for an Alternate Frequency(AF) ends. This event is asynchronous and is received after a call to CRadioRdsUtility::SetAutomaticSwitching. Client will continue to receive this notification until clients turns automatic switching off.

Most common error codes: KErrNone - Successful, new frequency found KErrNotFound - Ended, but frequency hasn't changed KErrCancel - Cancelled

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
TInt aFrequencyThe frequency(Hz) of the radio station that was found.

MrroRdsStationChangeTA(TInt)

voidMrroRdsStationChangeTA(TIntaFrequency)[pure virtual]

Called when the tuner has re-tuned to another frequency that is broadcasting Traffic Announcement(TA). This notification sent only when the client has turned the automatic traffic announcement on.

Since
S60 3.2

Parameters

TInt aFrequencyThe frequency(Hz) of the radio station that was found.

MrroStationSeekByPTYComplete(TInt, TInt)

voidMrroStationSeekByPTYComplete(TIntaError,
TIntaFrequency
)[pure virtual]

Station seek by Programme Type(PTY) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::StationSeekByPTY.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
TInt aFrequencyThe frequency(Hz) of the radio station that was found.

MrroStationSeekByTAComplete(TInt, TInt)

voidMrroStationSeekByTAComplete(TIntaError,
TIntaFrequency
)[pure virtual]

Station seek by Traffic Announcement(TA) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::StationSeekByTA.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
TInt aFrequencyThe frequency(Hz) of the radio station that was found.

MrroStationSeekByTPComplete(TInt, TInt)

voidMrroStationSeekByTPComplete(TIntaError,
TIntaFrequency
)[pure virtual]

Station seek by Traffic Programme(TP) complete event. This event is asynchronous and is received after a call to CRadioRdsUtility::StationSeekByTP.

Since
S60 3.2

Parameters

TInt aErrorA standard system error code or RDS control error (TRdsControlError).
TInt aFrequencyThe frequency(Hz) of the radio station that was found.