MXIMPContextStateEvent Class Reference

class MXIMPContextStateEvent : public MXIMPBase

Event interface for XIMP context state notification.

This interface is implemented by the XIMP Framework, and it is used to notify clients about XIMP context state changes.

XIMP Framework signalls this event it to registered client observers through MXIMPContextObserver observer interface. Clients do need to perform any specific subscribe request for this event type, just register a valid observer with MXIMPPscContext::RegisterObserverL(), with such event type filter, that this MXIMPContextStateEvent interface is accepted.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

~MXIMPContextStateEvent()

~MXIMPContextStateEvent()[protected, inline, virtual]

Protected destructor. Event objects can't be deleted via this interface.

Member Functions Documentation

ContextState()

const MXIMPContextState &ContextState()const [pure virtual]

Gets the XIMP context current state.

StateChangeReason()

const MXIMPStatus *StateChangeReason()const [pure virtual]

Gets status object describing the XIMP contexts state change reason.

Status object is optional and it is present only in those state change events which are originated from underlying protocol. Protocol can fill in into status object the details about the state reason.