TRadioSettings Class Reference

class TRadioSettings

TRadioSettings class. Maintain the radio setting data.

Public Member Functions
TRadioSettings ()
CRadioEngine::TFMRadioAudioMode AudioMode ()
CRadioEngine::TFMRadioAudioOutput AudioOutput ()
TInt CurrentPreset ()
TInt DecimalCount ()
TInt Frequency ()
TUint32 FrequencyStepSize ()
TInt HeadsetVolume ()
TBool IsFlightModeEnabled ()
TBool IsHeadsetConnected ()
TBool IsJapanRegionAllowed ()
TBool IsMuteOn ()
TBool IsRadioOn ()
IMPORT_C TBool IsRdsAfSearchEnabled ()
TUint32 MaxFrequency ()
TUint32 MinFrequency ()
CRadioEngine::TRadioMode RadioMode ()
void SetAudioMode ( CRadioEngine::TFMRadioAudioMode )
void SetAudioOutput (const CRadioEngine::TFMRadioAudioOutput )
void SetCurrentPreset (const TInt )
void SetDecimalCount (const TInt )
void SetFlightMode ( TBool )
void SetFrequency (const TInt )
void SetFrequencyStepSize (const TUint32 )
void SetHeadsetConnected ()
void SetHeadsetDisconnected ()
void SetHeadsetVolume (const TInt )
void SetJapanRegionAllowed (const TBool )
void SetMaxFrequency (const TUint32 )
void SetMinFrequency (const TUint32 )
void SetMuteOff ()
void SetMuteOn ()
void SetRadioMode (const CRadioEngine::TRadioMode )
void SetRadioOff ()
void SetRadioOn ()
void SetRdsAfSearchDisabled ()
void SetRdsAfSearchEnabled ()
void SetSpeakerVolume (const TInt )
void SetStartupCount (const TInt )
TInt SpeakerVolume ()
TInt StartupCount ()
Private Attributes
CRadioEngine::TFMRadioAudioMode iAudioMode
CRadioEngine::TFMRadioAudioOutput iAudioOutput
TInt iCurrentPreset
TInt iDecimalCount
TInt iFMRadioHeadsetVolume
TInt iFMRadioSpeakerVolume
TBool iFlightModeEnabled
TInt iFrequency
TUint32 iFrequencyStepSize
TBool iIsHeadsetConnected
TBool iJapanRegionAllowed
TUint32 iMaxFrequency
TUint32 iMinFrequency
TBool iMuteOn
CRadioEngine::TRadioMode iRadioMode
TBool iRadioOn
TBool iRdsAfSearchEnabled
TInt iStartupCount

Constructor & Destructor Documentation

TRadioSettings()

TRadioSettings ( )

default constructor.

Member Functions Documentation

AudioMode()

CRadioEngine::TFMRadioAudioMode AudioMode ( ) const
return current audio mode.
Since
Series 60 2.7

AudioOutput()

CRadioEngine::TFMRadioAudioOutput AudioOutput ( ) const
return current audio output destination.
Since
Series 60 2.7

CurrentPreset()

TInt CurrentPreset ( ) const
return current preset number.
Since
Series 60 2.7

DecimalCount()

TInt DecimalCount ( ) const

Returns decimal count for current region MHz information

Frequency()

TInt Frequency ( ) const
return current frequency.
Since
Series 60 2.7

FrequencyStepSize()

TUint32 FrequencyStepSize ( ) const

return step size for tuning.

HeadsetVolume()

TInt HeadsetVolume ( ) const
return current headset volume.
Since
Series 60 2.7

IsFlightModeEnabled()

TBool IsFlightModeEnabled ( ) const
check if flight mode is enabled.
Since
Series 60 2.7

IsHeadsetConnected()

TBool IsHeadsetConnected ( ) const
check if headset is connected.
Since
Series 60 2.7

IsJapanRegionAllowed()

TBool IsJapanRegionAllowed ( ) const

Return status of the Japan region support

IsMuteOn()

TBool IsMuteOn ( ) const
check if radio is mute.
Since
Series 60 2.7

IsRadioOn()

TBool IsRadioOn ( ) const
check if radio is on.
Since
Series 60 2.7

IsRdsAfSearchEnabled()

IMPORT_C TBool IsRdsAfSearchEnabled ( )

Retrieves the RDS alternate frequency search setting

MaxFrequency()

TUint32 MaxFrequency ( ) const

return max frequency.

MinFrequency()

TUint32 MinFrequency ( ) const

return min frequency.

RadioMode()

CRadioEngine::TRadioMode RadioMode ( ) const
return radio mode.
Since
Series 60 2.7

SetAudioMode(CRadioEngine::TFMRadioAudioMode)

void SetAudioMode ( CRadioEngine::TFMRadioAudioMode aAudioMode )
set audio mode.
Since
Series 60 2.7

Parameters

CRadioEngine::TFMRadioAudioMode aAudioMode stereo/mono

SetAudioOutput(const CRadioEngine::TFMRadioAudioOutput)

void SetAudioOutput ( const CRadioEngine::TFMRadioAudioOutput aAudioOutput )
set audio output.
Since
Series 60 2.7

Parameters

const CRadioEngine::TFMRadioAudioOutput aAudioOutput headset/IHF

SetCurrentPreset(const TInt)

void SetCurrentPreset ( const TInt aChannel )
Set current preset number.
Since
Series 60 2.7

Parameters

const TInt aChannel

SetDecimalCount(const TInt)

void SetDecimalCount ( const TInt aDecimalCount )

Set decimal count for current region MHz information

Parameters

const TInt aDecimalCount decimals used

SetFlightMode(TBool)

void SetFlightMode ( TBool aEnabled )
set flight mode.
Since
Series 60 2.7

Parameters

TBool aEnabled true/false

SetFrequency(const TInt)

void SetFrequency ( const TInt aFrequency )
set current frequency .
Since
Series 60 2.7

Parameters

const TInt aFrequency the frequency to be set

SetFrequencyStepSize(const TUint32)

void SetFrequencyStepSize ( const TUint32 aFrequencyStepSize )

set step size for manual tuning.

Parameters

const TUint32 aFrequencyStepSize frequency step

SetHeadsetConnected()

void SetHeadsetConnected ( )
set headset connected.
Since
Series 60 2.7

SetHeadsetDisconnected()

void SetHeadsetDisconnected ( )
set headset disconnected.
Since
Series 60 2.7

SetHeadsetVolume(const TInt)

void SetHeadsetVolume ( const TInt aVolume )
set headset volume.
Since
Series 60 2.7

Parameters

const TInt aVolume the new volume

SetJapanRegionAllowed(const TBool)

void SetJapanRegionAllowed ( const TBool aAllowed )

Set Japan region support on/off.

Parameters

const TBool aAllowed true/false

SetMaxFrequency(const TUint32)

void SetMaxFrequency ( const TUint32 aMaxFrequency )

set max frequency.

Parameters

const TUint32 aMaxFrequency the frequency to be set

SetMinFrequency(const TUint32)

void SetMinFrequency ( const TUint32 aMinFrequency )

set min frequency.

Parameters

const TUint32 aMinFrequency the frequency to be set

SetMuteOff()

void SetMuteOff ( )
set mute on.
Since
Series 60 2.7

SetMuteOn()

void SetMuteOn ( )
set mute on.
Since
Series 60 2.7

SetRadioMode(const CRadioEngine::TRadioMode)

void SetRadioMode ( const CRadioEngine::TRadioMode aRadioMode )
set radio mode.
Since
Series 60 2.7

Parameters

const CRadioEngine::TRadioMode aRadioMode preset/tune mode

SetRadioOff()

void SetRadioOff ( )
set radio off.
Since
Series 60 2.7

SetRadioOn()

void SetRadioOn ( )
set radio on.
Since
Series 60 2.7

SetRdsAfSearchDisabled()

void SetRdsAfSearchDisabled ( )

Set rds af search disabled.

SetRdsAfSearchEnabled()

void SetRdsAfSearchEnabled ( )

Set rds af search enabled.

SetSpeakerVolume(const TInt)

void SetSpeakerVolume ( const TInt aVolume )
set speaker volume.
Since
Series 60 2.7

Parameters

const TInt aVolume the new volume

SetStartupCount(const TInt)

void SetStartupCount ( const TInt aStartupCount )

set startup count

Parameters

const TInt aStartupCount number of app startups

SpeakerVolume()

TInt SpeakerVolume ( ) const
return current speaker volume.
Since
Series 60 2.7

StartupCount()

TInt StartupCount ( ) const

return startup count

Member Data Documentation

CRadioEngine::TFMRadioAudioMode iAudioMode

CRadioEngine::TFMRadioAudioMode iAudioMode [private]

CRadioEngine::TFMRadioAudioOutput iAudioOutput

CRadioEngine::TFMRadioAudioOutput iAudioOutput [private]

TInt iCurrentPreset

TInt iCurrentPreset [private]

TInt iDecimalCount

TInt iDecimalCount [private]

TInt iFMRadioHeadsetVolume

TInt iFMRadioHeadsetVolume [private]

TInt iFMRadioSpeakerVolume

TInt iFMRadioSpeakerVolume [private]

TBool iFlightModeEnabled

TBool iFlightModeEnabled [private]

TInt iFrequency

TInt iFrequency [private]

TUint32 iFrequencyStepSize

TUint32 iFrequencyStepSize [private]

TBool iIsHeadsetConnected

TBool iIsHeadsetConnected [private]

TBool iJapanRegionAllowed

TBool iJapanRegionAllowed [private]

TUint32 iMaxFrequency

TUint32 iMaxFrequency [private]

TUint32 iMinFrequency

TUint32 iMinFrequency [private]

TBool iMuteOn

TBool iMuteOn [private]

CRadioEngine::TRadioMode iRadioMode

CRadioEngine::TRadioMode iRadioMode [private]

TBool iRadioOn

TBool iRadioOn [private]

TBool iRdsAfSearchEnabled

TBool iRdsAfSearchEnabled [private]

TInt iStartupCount

TInt iStartupCount [private]