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 MMMRdsFrameReceiver

class MMMRdsFrameReceiver;

Description

This mixin is to be implemented by a client wishing to access the raw RDS frames as they are received over the air. Any frames which were corrupted upon receipt will not be sent to the client. RDS frames are received at the rate of 11.4 times per second.

A client receiving these frames should ensure that they are aware when the tuner is retuned, as notified by callback MMMTunerChangeObserver::MTcoFrequencyChanged(const TFrequency &,const TFrequency &). Frames will continue to be received after the tune (assuming the new station carries RDS data), but the frames will clearly relate to the new station.

Members

Defined in MMMRdsFrameReceiver:


Member functions


MrfrFrameReceived(TRdsFrameGroup,const TRdsFrame &)

virtual void MrfrFrameReceived(TRdsFrameGroup aWhichGroup, const TRdsFrame &aRdsFrame)=0;

Description

Called when an RDS frame is received.

Parameters

TRdsFrameGroup aWhichGroup

set of Rds which is given in the aRdsFrame parameter

const TBufC8 &aRdsFrame

The contents of the RDS frame.


MrfrError(TInt)

virtual void MrfrError(TInt aError)=0;

Description

Called when an error occurs which results in RDS frames no longer being available. Note that this will NOT be called when a station with no RDS broadcast is tuned; this will merely result in MrfrFrameReceived not being called.

Parameters

TInt aError

An applicable system error code