CRadioUtility Class Reference

class CRadioUtility : public CBase

This class provides an interface for accessing other radio utility interfaces.

RadioUtility.lib
Since
S60 3.2

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CRadioUtility()

CRadioUtility ( ) [private]

~CRadioUtility()

IMPORT_C ~CRadioUtility ( ) [virtual]

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

NewL(TBool)

IMPORT_C CRadioUtility * NewL ( TBool aPrimaryClient = ETrue ) [static]

Factory function to create an instance of the radio utility.

Since
S60 3.2

Parameters

TBool aPrimaryClient = ETrue Indicates whether the client is a primary client. Primary clients are clients that can control the radio tuner such as FM Radio Application, Visual Radio, or a Java Radio App. Non-primary clients are observers of the tuner, player, and RDS utilities and cannot exist without a primary client such as Active Idle, Cover UI, or a smart accessory driver.

RadioFmTunerUtilityL(MRadioFmTunerObserver &)

IMPORT_C CRadioFmTunerUtility & RadioFmTunerUtilityL ( MRadioFmTunerObserver & aObserver )

Returns a reference to FM Tuner Utility class for controlling the tuner settings. NOTE: Object is owned by CRadioUtility and should not be deleted by the client.

Since
S60 3.2

Parameters

MRadioFmTunerObserver & aObserver The observer object for receiving async completion callbacks

RadioPlayerUtilityL(MRadioPlayerObserver &)

IMPORT_C CRadioPlayerUtility & RadioPlayerUtilityL ( MRadioPlayerObserver & aObserver )

Returns a reference to Radio Player Utility class for controlling the radio playback. NOTE: Object is owned by CRadioUtility and should not be deleted by the client.

Since
S60 3.2

Parameters

MRadioPlayerObserver & aObserver The observer object for receiving async completion callbacks

RadioRdsUtilityL(MRadioRdsObserver &)

IMPORT_C CRadioRdsUtility & RadioRdsUtilityL ( MRadioRdsObserver & aObserver )

Returns a reference to Radio RDS Utility class for accessing the Radio Data System (RDS) for FM sound broadcasting. CRadioRdsUtility can also be used with Radio Broadcast Data System (RDBS).

Client must first instantiate CRadioFmTunerUtility and check the tuner capabilities to see if RDS is supported prior to calling this function. NOTE: Object is owned by CRadioUtility and should not be deleted by the client.

Since
S60 3.2

Parameters

MRadioRdsObserver & aObserver The observer object for receiving async completion callbacks

Member Data Documentation

CBody * iBody

CBody * iBody [private]

Radio utility implementation body Own.