MCFContextSubscriptionListener Class Reference

class MCFContextSubscriptionListener

Context Subscription listener. All context subscribers must implement this interface. When the subscribed context is changed context indication will be received through this interface.

Notice that this interface must be returned also from the Extension() method!

-
Since
S60 5.0
Public Member Functions
TInt Client(RThread &)
voidContextIndicationL(CCFContextIndication *)
voidHandleContextSubscriptionError(TInt, const TDesC &, const TDesC &)
Protected Member Functions
~MCFContextSubscriptionListener()

Constructor & Destructor Documentation

~MCFContextSubscriptionListener()

~MCFContextSubscriptionListener()[protected, inline, virtual]

Member Functions Documentation

Client(RThread &)

TInt Client(RThread &aThread)const [pure virtual]

Requests client side thread handle. Ownership is trasferred to the caller. Do not put aThread into clean up stack or close it.

Since
S60 5.0

Parameters

RThread & aThreadClient thread handle.

ContextIndicationL(CCFContextIndication *)

voidContextIndicationL(CCFContextIndication *aIndication)[pure virtual]

Indicates that context has changed. Clients needs first to subscribed to a context before context indications can be received.

Since
S60 5.0

Parameters

CCFContextIndication * aIndication

HandleContextSubscriptionError(TInt, const TDesC &, const TDesC &)

voidHandleContextSubscriptionError(TIntaError,
const TDesC &aSource,
const TDesC &aType
)[pure virtual]

Called when error occurs while adding subscriptions.

Since
S60 5.0

Parameters

TInt aErrorError that occured.
const TDesC & aSourceContext source related to the error.
const TDesC & aTypeContext type related to the error.