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 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. 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:
MrfrError(), MrfrFrameReceived()


Member functions


MrfrFrameReceived()

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 TRdsFrame &aRdsFrame

The contents of the RDS frame.


MrfrError()

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