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 TBoolIsRdsAfSearchEnabled()
TUint32 MaxFrequency()
TUint32 MinFrequency()
CRadioEngine::TRadioMode RadioMode()
voidSetAudioMode(CRadioEngine::TFMRadioAudioMode)
voidSetAudioOutput(const CRadioEngine::TFMRadioAudioOutput)
voidSetCurrentPreset(const TInt)
voidSetDecimalCount(const TInt)
voidSetFlightMode(TBool)
voidSetFrequency(const TInt)
voidSetFrequencyStepSize(const TUint32)
voidSetHeadsetConnected()
voidSetHeadsetDisconnected()
voidSetHeadsetVolume(const TInt)
voidSetJapanRegionAllowed(const TBool)
voidSetMaxFrequency(const TUint32)
voidSetMinFrequency(const TUint32)
voidSetMuteOff()
voidSetMuteOn()
voidSetRadioMode(const CRadioEngine::TRadioMode)
voidSetRadioOff()
voidSetRadioOn()
voidSetRdsAfSearchDisabled()
voidSetRdsAfSearchEnabled()
voidSetSpeakerVolume(const TInt)
voidSetStartupCount(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 TBoolIsRdsAfSearchEnabled()

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)

voidSetAudioMode(CRadioEngine::TFMRadioAudioModeaAudioMode)
set audio mode.
Since
Series 60 2.7

Parameters

CRadioEngine::TFMRadioAudioMode aAudioModestereo/mono

SetAudioOutput(const CRadioEngine::TFMRadioAudioOutput)

voidSetAudioOutput(const CRadioEngine::TFMRadioAudioOutputaAudioOutput)
set audio output.
Since
Series 60 2.7

Parameters

const CRadioEngine::TFMRadioAudioOutput aAudioOutputheadset/IHF

SetCurrentPreset(const TInt)

voidSetCurrentPreset(const TIntaChannel)
Set current preset number.
Since
Series 60 2.7

Parameters

const TInt aChannel

SetDecimalCount(const TInt)

voidSetDecimalCount(const TIntaDecimalCount)

Set decimal count for current region MHz information

Parameters

const TInt aDecimalCountdecimals used

SetFlightMode(TBool)

voidSetFlightMode(TBoolaEnabled)
set flight mode.
Since
Series 60 2.7

Parameters

TBool aEnabledtrue/false

SetFrequency(const TInt)

voidSetFrequency(const TIntaFrequency)
set current frequency .
Since
Series 60 2.7

Parameters

const TInt aFrequencythe frequency to be set

SetFrequencyStepSize(const TUint32)

voidSetFrequencyStepSize(const TUint32aFrequencyStepSize)

set step size for manual tuning.

Parameters

const TUint32 aFrequencyStepSizefrequency step

SetHeadsetConnected()

voidSetHeadsetConnected()
set headset connected.
Since
Series 60 2.7

SetHeadsetDisconnected()

voidSetHeadsetDisconnected()
set headset disconnected.
Since
Series 60 2.7

SetHeadsetVolume(const TInt)

voidSetHeadsetVolume(const TIntaVolume)
set headset volume.
Since
Series 60 2.7

Parameters

const TInt aVolumethe new volume

SetJapanRegionAllowed(const TBool)

voidSetJapanRegionAllowed(const TBoolaAllowed)

Set Japan region support on/off.

Parameters

const TBool aAllowedtrue/false

SetMaxFrequency(const TUint32)

voidSetMaxFrequency(const TUint32aMaxFrequency)

set max frequency.

Parameters

const TUint32 aMaxFrequencythe frequency to be set

SetMinFrequency(const TUint32)

voidSetMinFrequency(const TUint32aMinFrequency)

set min frequency.

Parameters

const TUint32 aMinFrequencythe frequency to be set

SetMuteOff()

voidSetMuteOff()
set mute on.
Since
Series 60 2.7

SetMuteOn()

voidSetMuteOn()
set mute on.
Since
Series 60 2.7

SetRadioMode(const CRadioEngine::TRadioMode)

voidSetRadioMode(const CRadioEngine::TRadioModeaRadioMode)
set radio mode.
Since
Series 60 2.7

Parameters

const CRadioEngine::TRadioMode aRadioModepreset/tune mode

SetRadioOff()

voidSetRadioOff()
set radio off.
Since
Series 60 2.7

SetRadioOn()

voidSetRadioOn()
set radio on.
Since
Series 60 2.7

SetRdsAfSearchDisabled()

voidSetRdsAfSearchDisabled()

Set rds af search disabled.

SetRdsAfSearchEnabled()

voidSetRdsAfSearchEnabled()

Set rds af search enabled.

SetSpeakerVolume(const TInt)

voidSetSpeakerVolume(const TIntaVolume)
set speaker volume.
Since
Series 60 2.7

Parameters

const TInt aVolumethe new volume

SetStartupCount(const TInt)

voidSetStartupCount(const TIntaStartupCount)

set startup count

Parameters

const TInt aStartupCountnumber 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]