RCbsSettings Class Reference

class RCbsSettings : public RSubSessionBase

This represents the client-side subsession to modify and retrieve settings.

Inherits from

Constructor & Destructor Documentation

RCbsSettings()

RCbsSettings()

Constructor.

RCbsSettings(const RCbsSettings &)

RCbsSettings(const RCbsSettings &)[private]

Parameters

const RCbsSettings &

Member Functions Documentation

Close()

TInt Close()

Closes the subsession.

GetLanguages(TCbsSettingsLanguages &)

voidGetLanguages(TCbsSettingsLanguages &aLanguages)

Returns the preferred languages in aLanguages.

Parameters

TCbsSettingsLanguages & aLanguagesThe method returns the languages in this parameter.

GetReceptionStatus(TBool &)

voidGetReceptionStatus(TBool &aStatus)

Returns the reception status in aStatus, which is ETrue if the reception is on. Otherwise it is EFalse.

Parameters

TBool & aStatusThe method returns the reception status in this parameter.

GetTopicDetectionStatus(TBool &)

voidGetTopicDetectionStatus(TBool &aStatus)

Returns the topic detection status in aStatus, which is ETrue if the detection is on. Otherwise it is EFalse.

Parameters

TBool & aStatusThe method returns the topic detection status in this parameter.

NotifySettingsChanged(TRequestStatus &, TCbsSettingsEvent &)

voidNotifySettingsChanged(TRequestStatus &aStatus,
TCbsSettingsEvent &aEvent
)

Requests the server to notify the client whenever any settings will be changed.

Note that for each subsession only one this kind of request can be pending. Each client is responsible of assuring this.

Parameters

TRequestStatus & aStatusIt is the variable that the server will modify whenever an event occurs.
TCbsSettingsEvent & aEventThe server will store the type of occurred event to this variable.

NotifySettingsChangedCancel()

voidNotifySettingsChangedCancel()

Cancels the request to notify the client.

Open(RCbs &)

TInt Open(RCbs &aServer)

Creates a subsession to the server.

Note that this method must be called before using any other method.

Parameters

RCbs & aServerIt is the session.

SetLanguages(const TCbsSettingsLanguages &)

TInt SetLanguages(const TCbsSettingsLanguages &aLanguages)

Changes the preferred languages to aLanguages.

Parameters

const TCbsSettingsLanguages & aLanguagesIt contains the new preferred languages.

SetReceptionStatus(TBool)

TInt SetReceptionStatus(TBoolaStatus)

Changes the reception status to aStatus.

Parameters

TBool aStatusIt contains the new reception status.

SetTopicDetectionStatus(TBool)

TInt SetTopicDetectionStatus(TBoolaStatus)

Changes the topic detection status to aStatus.

Parameters

TBool aStatusIt contains the new topic detection status.

operator=(const RCbsSettings &)

RCbsSettings &operator=(const RCbsSettings &)[private]

Parameters

const RCbsSettings &

Member Data Documentation

TPtr8 iNotifyEventPtr

TPtr8 iNotifyEventPtr[private]