CGlobalAudioSettingsImpl Class Reference

class CGlobalAudioSettingsImpl : public CBase

Defines functions that client uses to set phone profile settings.

GlobalAudioSettings.lib
Since
Series 60 3.2

Inherits from

  • CGlobalAudioSettingsImpl

Constructor & Destructor Documentation

CGlobalAudioSettingsImpl(CGlobalAudioSettings &, MAudioSettingsObserver &)

CGlobalAudioSettingsImpl(CGlobalAudioSettings &aGlobalAudioSettings,
MAudioSettingsObserver &aAudioSettingsObserver
)[private]

Parameters

CGlobalAudioSettings & aGlobalAudioSettings
MAudioSettingsObserver & aAudioSettingsObserver

~CGlobalAudioSettingsImpl()

~CGlobalAudioSettingsImpl()

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]
Second Phase Costructor for GlobalAudioSettingsImpl Instance
Since
3.2

GetAudioClientsList(CGlobalAudioSettings::TAudioClientListType, RArray< TProcessId > &)

TInt GetAudioClientsList(CGlobalAudioSettings::TAudioClientListTypeaType,
RArray< TProcessId > &aList
)

Gets audio clients list.

On return of this function, the parameter aList will contain active audio client application process ids.

The parameter aList will be reset in the case

Since
S60 3.2

IsMessageTonesEnabled()

IMPORT_C TBoolIsMessageTonesEnabled()

Returns message tones status.

Since
Series 60 3.2

IsPublicSilenceEnabled()

IMPORT_C TBoolIsPublicSilenceEnabled()

Returns PublicSilence is enabled or not status.

Since
Series 60 3.2

IsSilentProfileEnabled()

IMPORT_C TBoolIsSilentProfileEnabled()

Returns silent profile status.

Since
Series 60 3.2

IsVibraEnabled()

IMPORT_C TBoolIsVibraEnabled()

Returns vibra is enabled or not in the current profile status.

Since
Series 60 3.2

IsWarningTonesEnabled()

IMPORT_C TBoolIsWarningTonesEnabled()

Returns warning tones status.

Since
Series 60 3.2

NewL(CGlobalAudioSettings &, MAudioSettingsObserver &)

IMPORT_C CGlobalAudioSettingsImpl *NewL(CGlobalAudioSettings &aGlobalAudioSettings,
MAudioSettingsObserver &aAudioSettingsObserver
)[static]

function for creating the GlobalAudioSettingsImpl

Parameters

CGlobalAudioSettings & aGlobalAudioSettings
MAudioSettingsObserver & aAudioSettingsObserver

RegisterAudioClientsListObserver(MAudioClientsListObserver &)

TInt RegisterAudioClientsListObserver(MAudioClientsListObserver &aObserver)

Registers audio clients list observer.

When registered successfully, the observer will start receiveing callback defined in MAudioClientsListObserver when audio clients list changes.

Since
S60 3.2

Parameters

MAudioClientsListObserver & aObserver

UnregisterAudioClientsListObserver(MAudioClientsListObserver &)

TInt UnregisterAudioClientsListObserver(MAudioClientsListObserver &aObserver)

Unregisters audio clients list observer.

When unregistered, the observer will no longer receive callback when audio clients list changes.

Since
S60 3.2

Parameters

MAudioClientsListObserver & aObserver

Member Data Documentation

RPointerArray< MAudioClientsListObserver > iAudioClientsListObserverArray

RPointerArray< MAudioClientsListObserver >iAudioClientsListObserverArray[private]

MAudioSettingsObserver & iAudioSettingsObserver

MAudioSettingsObserver &iAudioSettingsObserver[private]

CAudioClientsListManagerAO * iCAudioClientsListManagerAO

CAudioClientsListManagerAO *iCAudioClientsListManagerAO[private]

CGlobalAudioSettings & iGlobalAudioSettings

CGlobalAudioSettings &iGlobalAudioSettings[private]

TGlobalAudioSettings iGlobalAudioSettingsData

TGlobalAudioSettings iGlobalAudioSettingsData[private]

CMessagingTonesObserverAO * iMessagingTonesObserverAO

CMessagingTonesObserverAO *iMessagingTonesObserverAO[private]

CAudioClientsListManagerAO * iPausedClientsListManagerAO

CAudioClientsListManagerAO *iPausedClientsListManagerAO[private]

CSilentProfileObserverAO * iSilentProfileObserverAO

CSilentProfileObserverAO *iSilentProfileObserverAO[private]

CVibraObserverAO * iVibraObserverAO

CVibraObserverAO *iVibraObserverAO[private]

CWarningTonesObserverAO * iWarningTonesObserverAO

CWarningTonesObserverAO *iWarningTonesObserverAO[private]