CCchUiPrivateApi Class Reference

class CCchUiPrivateApi : public CBase

CCH UI Private API - provides means to control CCH UI.

This API hides the actual implementation from clients. In essence this API provides internal access to connectivity UI logic.


			
cchui.lib
Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

CCchUiPrivateApi()

CCchUiPrivateApi()[private]

C++ default constructor.

~CCchUiPrivateApi()

~CCchUiPrivateApi()

Destructor.

Member Functions Documentation

AddObserverL(MCchUiObserver &)

voidAddObserverL(MCchUiObserver &aObserver)

From MCchUi. Adds observer for listening cchui events.

Since
S60 5.0

Parameters

MCchUiObserver & aObserverEvent observing class

CancelNotes()

voidCancelNotes()

From MCchUi. Cancels all notes shown by CCH UI. If there is nothing to dismiss, call to this method does nothing.

Since
S60 5.0

ConfigureVisualizationL(RArray< MCchUiObserver::TCchUiDialogType > &, RArray< TCCHSubserviceType > &)

voidConfigureVisualizationL(RArray< MCchUiObserver::TCchUiDialogType > &aAllowedNotes,
RArray< TCCHSubserviceType > &aAllowedSubServices
)

From MCchUi. Allows client to configure visualization of connectivity events. This only effects the automatically shown connectivity notes. Client can still use separate methods in this API to show specific notes by itself.

By default all notes are allowed.

Since
S60 5.0

Parameters

RArray< MCchUiObserver::TCchUiDialogType > & aAllowedNotesarray of allowed notes
RArray< TCCHSubserviceType > & aAllowedSubServicesarray of allowed subservices

ConstructL(CCch &)

voidConstructL(CCch &aCch)[private]

By default Symbian 2nd phase constructor is private.

Parameters

CCch & aCch

ManualEnableResultL(TUint32, TInt)

voidManualEnableResultL(TUint32aServiceId,
TIntaEnableResult
)

Tells CCH UI that manual enable has proceeded and visualization should be handled according to events and provided result code.

Since
S60 5.0

Parameters

TUint32 aServiceIdservice id of the service that the dialog is shown for. Service id is used to fetch service specific data.
TInt aEnableResultresult of the enable operation. If enable specific error, error is handled here instead of event listening

NewL(CCch &)

CCchUiPrivateApi *NewL(CCch &aCch)[static]

Two-phased constructor.

Parameters

CCch & aCch

RemoveObserver(MCchUiObserver &)

voidRemoveObserver(MCchUiObserver &aObserver)

From MCchUi. Removes the observer of cchui events.

Since
S60 5.0

Parameters

MCchUiObserver & aObserverEvent observing class

Reserved1()

voidReserved1()

Reserved for future use.

Since
S60 5.0

Reserved2()

voidReserved2()

Reserved for future use.

Since
S60 5.0

ShowDialogL(TUint32, MCchUiObserver::TCchUiDialogType)

voidShowDialogL(TUint32aServiceId,
MCchUiObserver::TCchUiDialogTypeaDialog
)

From MCchUi. Shows global note/dialog. See observer definition for available notes.

Since
S60 5.0
leave
KErrAlreadyExists Failed to show dialog because another note already shown.

Parameters

TUint32 aServiceIdservice id of the service that the dialog is shown for. Service id is used to fetch service specific data.
MCchUiObserver::TCchUiDialogType aDialogdefines which dialog is shown.

Member Data Documentation

CCchUiApiImpl * iImpl

CCchUiApiImpl *iImpl[private]

CCHUI API implementation. Own.